mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
修正whereRaw方法
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 . ' ( ' . $field . ' ' . $value->getValue() . ' )';
|
$str[] = ' ' . $key . ' ( ' . $value->getValue() . ' )';
|
||||||
} elseif ($value instanceof \Closure) {
|
} elseif ($value instanceof \Closure) {
|
||||||
// 使用闭包查询
|
// 使用闭包查询
|
||||||
$query = new Query($this->connection);
|
$query = new Query($this->connection);
|
||||||
|
|||||||
Reference in New Issue
Block a user