Answers for "laravel print query eloquent"

PHP
0

print query statement in laravel

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 query eloquent"

Browse Popular Code Answers by Language