在tp5.1 fetchSql打印出执行的sql语句

$data = Db::table('tp_user')->fetchSql(true)->select();
 dump($data);fetch

 

相关文章
相关标签/搜索