Answers for "laravel print executed query"

PHP
0

laravel print executed query

DB::enableQueryLog();
$users = User::select("*")->get();
$quries = DB::getQueryLog();
dd($quries);
DB::table('users')->toSql();
dd($query);
Posted by: Guest on February-25-2021

Code answers related to "laravel print executed query"

Browse Popular Code Answers by Language