modify
This commit is contained in:
@@ -132,7 +132,7 @@ class ActiveQuery extends Component implements ISqlBuilder
|
||||
*/
|
||||
public function execute($sql, $params = []): Command
|
||||
{
|
||||
return $this->modelClass::getDb()->createCommand($sql, $params);
|
||||
return $this->modelClass::getDb()->createCommand($sql, $this->modelClass::getDbName(), $params);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user