改名
This commit is contained in:
@@ -76,7 +76,10 @@ trait Condition
|
|||||||
private function builderWhere($where): string
|
private function builderWhere($where): string
|
||||||
{
|
{
|
||||||
$_tmp = [];
|
$_tmp = [];
|
||||||
if (empty($where)) return '';
|
if (is_null($where)) {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
if (empty($where) || is_string($where)) return $where;
|
||||||
foreach ($where as $key => $value) {
|
foreach ($where as $key => $value) {
|
||||||
$_value = is_string($value) ? $value : $this->conditionMap($value);
|
$_value = is_string($value) ? $value : $this->conditionMap($value);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user