This commit is contained in:
2023-02-08 17:33:07 +08:00
parent dba7d6085a
commit 17e51b7898
+3
View File
@@ -191,6 +191,9 @@ class SqlBuilder extends Component
*/
private function resolveParams(string $key, mixed $value, int $order, array $params, array $keys): array
{
if (is_null($value)) {
return [$keys, $params];
}
if (
str_starts_with($value, '+ ') ||
str_starts_with($value, '- ')