mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-04 14:22:48 +08:00
调整
This commit is contained in:
@@ -269,9 +269,7 @@ abstract class Builder
|
||||
foreach ($val as $field => $value) {
|
||||
if ($value instanceof Expression) {
|
||||
$str[] = ' ' . $key . ' ( ' . $field . ' ' . $value->getValue() . ' )';
|
||||
continue;
|
||||
}
|
||||
if ($value instanceof \Closure) {
|
||||
} elseif ($value instanceof \Closure) {
|
||||
// 使用闭包查询
|
||||
$query = new Query($this->connection);
|
||||
call_user_func_array($value, [ & $query]);
|
||||
|
||||
Reference in New Issue
Block a user