在thinkphp 3点几的版本里,只需要在最后加->sql()就能把当前要执行的sql语句完整输出,但5.1.18里怎么输出sql语句。
Db::name('tab_name')->where($where)->count();
白衣染霜花
梵蒂冈之花
相关分类