这家伙有点懒,还没写个性签名!
$this->table->createCommand()->rawSql;
这个只是打印查询的,增删改的不知道怎么写
https://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&tn=monline_4_dg&wd=yii2打印sql语句
这个要看yii的源码,源码在 在yii2/db/schema.php 中450行
那delete和update的呢?