yii 打印sql

$query = TableModel::find()->where([‘xxx’=>xxx]);
var_dump($query->prepare(\Yii::$app->db->querybuilder)->createCommand()->rawSql);
上一篇:Denial of Service


下一篇:Scala学习笔记--xml