追加ライブラリモデル関数Model::debugOn this pageModel::debug Get last executed query Description public string Model::debug() Example Controller$model = new Model(true, array( 'table' => 'cms_news',));$model->where('news = ?', [1]) ->listMax(5) ->current(2) ->find();echo $model->debug();// -> SELECT * FROM cms_news WHERE news = 1 LIMIT 5, 5