mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
改进Query类的查询方法
This commit is contained in:
@@ -908,9 +908,7 @@ class Query
|
|||||||
$where = $field;
|
$where = $field;
|
||||||
} elseif ($field) {
|
} elseif ($field) {
|
||||||
// 字符串查询
|
// 字符串查询
|
||||||
$where[] = ['exp', $field];
|
$where[$field] = ['null', ''];
|
||||||
} else {
|
|
||||||
$where = '';
|
|
||||||
}
|
}
|
||||||
} elseif (is_array($op)) {
|
} elseif (is_array($op)) {
|
||||||
$where[$field] = $param;
|
$where[$field] = $param;
|
||||||
|
|||||||
Reference in New Issue
Block a user