laravel打印sql

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


print_r(DB::getQueryLog());

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