laravel打印sql

DB::connection()->enableQueryLog();


print_r(DB::getQueryLog());

posted @ 2019-04-01 12:37  brady-wang  阅读(326)  评论(0编辑  收藏  举报