[ SQL ] SHOW COLUMNS FROM `think_action` [ RunTime:0001339s ]
[ EXPLAIN : array ( 'id' => '1', 'select_type' => 'SIMPLE', 'table' => 'think_action', 'partitions' => NULL, 'type' => 'ALL', 'possible_keys' => NULL, 'key' => NULL, 'key_len' => NULL, 'ref' => NULL, 'rows' => '82', 'filtered' => '10000', 'extra' => NULL, ) ]
[ SQL ] SELECT FROM `think_action` LIMIT 1 [ RunTime:0000539s ]
你好,一共有两种方法可以打印sql语句,具体实现方法可参照这篇文章:
thinkphp5 怎么打印sql语句
第一个的结果是:select `id`,`name` from `tablename` where ( '$where是我内容' ) group by `field` order by `status`
第二个本来就是个错误
以上就是关于请教大神thinkphp5 怎么打印sql语句全部的内容,包括:请教大神thinkphp5 怎么打印sql语句、thinkphp这句查询语句换成sql语句是多少、等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)