This commit is contained in:
2021-02-26 11:03:57 +08:00
parent 73466e415e
commit c746907884
3 changed files with 9 additions and 91 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ class InCondition extends Condition
#[Pure] public function builder(): string
{
if (is_array($this->value)) {
return sprintf('%s IN (\'%s\')', $this->column, implode('\',\'', $this->value));
return sprintf('%s IN (%s)', $this->column, implode(',', $this->value));
}
return '';
}