Home >Backend Development >PHP Tutorial >laravel怎么查看上一次的sql语句

laravel怎么查看上一次的sql语句

WBOY
WBOYOriginal
2016-06-06 20:47:291389browse

当我使用数据库操作后,我该怎么查看执行的sql语句。比如CI有last_query()

回复内容:

当我使用数据库操作后,我该怎么查看执行的sql语句。比如CI有last_query()

http://stackoverflow.com/questions/14536165/get-the-query-executed-in-laravel-3-4

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn