This commit is contained in:
2026-07-06 21:06:09 +08:00
parent ade6e48f0b
commit 703ca7bb76
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -490,6 +490,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \
if ($generate === FALSE) {
return FALSE;
}
var_dump($generate, $query->params);
if (!$this->getConnection()->createCommand($generate, $query->params)->exec()) {
return FALSE;
}
-1
View File
@@ -78,7 +78,6 @@ class SqlBuilder extends Component
$params = $this->query->params;
$this->query->params = [];
$array = $this->makeParams($attributes);
var_dump($params, $array);
foreach ($params as $name => $value) {
$this->query->pushParam($value);
}