mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
like查询条件支持数组
This commit is contained in:
@@ -1018,7 +1018,7 @@ class Query
|
||||
// 字段相等查询
|
||||
$where[$field] = ['eq', $op];
|
||||
} else {
|
||||
$where[$field] = [$op, $condition];
|
||||
$where[$field] = [$op, $condition, isset($param[2]) ? $param[2] : null];
|
||||
if ('exp' == strtolower($op) && isset($param[2]) && is_array($param[2])) {
|
||||
// 参数绑定
|
||||
$this->bind($param[2]);
|
||||
|
||||
Reference in New Issue
Block a user