Answers for "laravel last query get'"

PHP
3

print last query laravel

DB::enableQueryLog();

dd(DB::getQueryLog());
Posted by: Guest on August-07-2020
6

laravel get last record

Model::latest()->first();
Posted by: Guest on May-06-2020

Browse Popular Code Answers by Language