执行:
Yii::$app->getDb()->createCommand("Your SQL")->execute();
查询:
Yii::$app->getDb()->createCommand("Your SQL")->queryAll();
其他:
Yii::$app->getDb()->createCommand("Your SQL")->xxx
上一篇:vscode无法对js进行智能提示怎么办
下一篇:如何解决vscode在style中没有智能提示的方法