yii生成sql语句

jianfly.com 2019-01-31 1664次浏览

$model->find()->createCommand()->getRawSql();