Home >Backend Development >PHP Tutorial >laravel 查看上一次sql操作

laravel 查看上一次sql操作

WBOY
WBOYOriginal
2016-06-20 12:56:281216browse

laravel 查看上一次sql操作

$queries = DB::getQueryLog();$last_query = end($queries);print_r($last_query);


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