This commit is contained in:
2021-07-06 18:30:04 +08:00
parent 51a2f448fd
commit c37c11a768
+2 -2
View File
@@ -182,8 +182,8 @@ class SqlBuilder extends Component
private function resolveParams(string $key, mixed $value, int $order, array $params, array $keys): array
{
if (
str_starts_with($value, '+') ||
str_starts_with($value, '-')
str_starts_with($value, '+ ') ||
str_starts_with($value, '- ')
) {
$keys[] = $key . '=' . $key . $value;
} else {