标签:
Route::get(‘/test-sql‘, function(){ DB::enableQueryLog(); $user = App\User::first(); return DB::getQueryLog(); });
laravel 查看SQL语句
原文地址:http://www.cnblogs.com/fenle/p/4900413.html