This commit is contained in:
2021-11-09 11:14:51 +08:00
parent e186ebd54c
commit f3a7789184
2 changed files with 4 additions and 3 deletions
+2
View File
@@ -129,6 +129,8 @@ trait Builder
if (empty($where)) return '';
if (is_string($where)) return $where;
foreach ($where as $key => $value) {
if (is_null($value)) continue;
$_value = $this->resolveCondition($key, $value, $_tmp);
if (empty($_value)) continue;