This commit is contained in:
2021-03-26 19:25:49 +08:00
parent 0757a97714
commit c933c0f4f4
+1 -1
View File
@@ -73,7 +73,7 @@ abstract class Condition extends BaseObject
$check = ltrim($params, '(');
$check = strtolower(substr($check, 0, 6));
if (in_array($check, ['update', 'select', 'insert', 'delete'])) {
return $params;
return trim($params, '()');
} else {
return sprintf('\'%s\'', $params);
}