改名
This commit is contained in:
@@ -81,11 +81,7 @@ trait Condition
|
||||
$_tmp = [];
|
||||
if (empty($where)) return '';
|
||||
|
||||
var_dump($where);
|
||||
foreach ($where as $value) {
|
||||
|
||||
var_dump($value);
|
||||
|
||||
$_value = is_string($value) ? $value : $this->conditionMap($value);
|
||||
|
||||
if (empty($_value)) continue;
|
||||
|
||||
@@ -730,9 +730,6 @@ trait QueryTrait
|
||||
*/
|
||||
public function where(callable|array|string $conditions): static
|
||||
{
|
||||
if (is_array($conditions)) {
|
||||
$conditions = [$conditions];
|
||||
}
|
||||
$this->where[] = $conditions;
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user