This commit is contained in:
2023-12-18 23:14:52 +08:00
parent b77e4be3e8
commit c0ff5be651
+1 -1
View File
@@ -370,7 +370,7 @@ class SqlBuilder extends Component
* @param mixed $condition
* @return string
*/
private function resolveCondition(string $field, mixed $condition): string
private function resolveCondition(string|int $field, mixed $condition): string
{
if (is_string($field)) {
$this->query->pushParam($condition);