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