mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
exp查询支持传入绑定参数
This commit is contained in:
@@ -957,6 +957,10 @@ class Query
|
||||
$where[$field] = ['eq', $op];
|
||||
} else {
|
||||
$where[$field] = [$op, $condition];
|
||||
if ('exp' == strtolower($op) && isset($param[2]) && is_array($param[2])) {
|
||||
// 参数绑定
|
||||
$this->bind($param[2]);
|
||||
}
|
||||
// 记录一个字段多次查询条件
|
||||
$this->options['multi'][$field][] = $where[$field];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user