This commit is contained in:
2021-02-24 18:51:09 +08:00
parent a66b7bf450
commit 35466cf69f
2 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -730,7 +730,7 @@ trait QueryTrait
*/
public function where(callable|array|string $conditions): static
{
$this->where[] = $conditions;
$this->where[] = [$conditions];
return $this;
}