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