Categories
Uncategorized

Laravel DB Query Log

DB::enableQueryLog();

$user= DB::table('users')->get();

dd(DB::getQueryLog());

Leave a Reply

Your email address will not be published. Required fields are marked *