I have a question about Laravel.
Is there any way to get the query that laravel run when dealing with models? Example To do an insertion in the table product I do so:
*$Product = new product;
$Product-> id = $ idTemp;
$Product-> name = $ request-> Name;
$Product-> save ();*
And I would like to get the query: Insert into table product values (...) It is for an audit class or something like that I tried with querylog but it doesnt return anything I hope it helps you