This commit is contained in:
2021-03-04 15:50:35 +08:00
parent 246b880042
commit 9251ee28a3
+1
View File
@@ -21,6 +21,7 @@ class InCondition extends Condition
*/
#[Pure] public function builder(): string
{
var_dump($this->value);
if (is_array($this->value)) {
return sprintf('%s IN (%s)', $this->column, implode(',', $this->value));
}