This commit is contained in:
2026-06-30 23:08:13 +08:00
parent b7e59d1c96
commit 9f2611972f
+1 -1
View File
@@ -78,7 +78,7 @@ class SqlBuilder extends Component
$params = $this->query->params; $params = $this->query->params;
$this->query->params = []; $this->query->params = [];
$array = $this->makeParams($attributes); $array = $this->makeParams($attributes);
foreach ($array as $name => $value) { foreach ($params as $name => $value) {
$this->query->pushParam($value); $this->query->pushParam($value);
} }
return $this->__updateBuilder($array); return $this->__updateBuilder($array);