mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
改进查询
This commit is contained in:
@@ -268,7 +268,7 @@ abstract class Builder
|
|||||||
$str = [];
|
$str = [];
|
||||||
foreach ($val as $field => $value) {
|
foreach ($val as $field => $value) {
|
||||||
if ($value instanceof Expression) {
|
if ($value instanceof Expression) {
|
||||||
$str[] = ' ' . $key . ' ( ' . $value->getValue() . ' )';
|
$str[] = ' ' . $key . ' ( ' . $field . ' ' . $value->getValue() . ' )';
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if ($value instanceof \Closure) {
|
if ($value instanceof \Closure) {
|
||||||
|
|||||||
Reference in New Issue
Block a user