This commit is contained in:
2021-08-03 11:44:58 +08:00
parent 3f9b8d8e8c
commit 72b8da4c7f
5 changed files with 115 additions and 105 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ class ActiveQuery extends Component implements ISqlBuilder
*/
public function execute($sql, array $params = []): Command
{
return $this->modelClass::getDb()->createCommand($sql, $this->modelClass::getDbName(), $params);
return $this->modelClass::getDb()->createCommand($sql, $params);
}