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

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

WBOY
Release: 2016-06-06 20:47:29
Original
1394 people have browsed it

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

回复内容:

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template