改名
This commit is contained in:
@@ -823,8 +823,12 @@ trait QueryTrait
|
|||||||
$this->where[] = $this->makeClosureFunction($column);
|
$this->where[] = $this->makeClosureFunction($column);
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
if (is_string($column)) {
|
||||||
|
$this->where[] = $column;
|
||||||
|
} else {
|
||||||
[$column, $opera, $value] = $this->opera(...func_get_args());
|
[$column, $opera, $value] = $this->opera(...func_get_args());
|
||||||
$this->where[] = "$column $opera $value";
|
$this->where[] = "$column $opera $value";
|
||||||
|
}
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user