This commit is contained in:
2021-02-24 18:55:23 +08:00
parent 78f665951f
commit 8f4ec6dd97
+2 -2
View File
@@ -730,8 +730,8 @@ trait QueryTrait
*/ */
public function where(callable|array|string $conditions): static public function where(callable|array|string $conditions): static
{ {
var_dump($conditions); $this->where[] = $conditions;
$this->where[] = [$conditions]; var_dump($this->where);
return $this; return $this;
} }