Show queries
if you want to allow capturing of application queries and logs
ds()->queriesOn('label');
$db = Dish::query()->where('id', 20)->get()
ds()->queriesOff();
You can also capture the query using the 'ds()' macro method before the call:
Dish::query()->where('id', 20)->ds()->get()

Last updated