Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

print last sql query laravel

DB::enableQueryLog(); // Enable query log

// Your Eloquent query executed by using get()

dd(DB::getQueryLog()); // Show results of log
 
PREVIOUS NEXT
Tagged: #print #sql #query #laravel
ADD COMMENT
Topic
Name
5+1 =