samedi 9 mars 2019

How to show SQL query formed by ::create Laravel?

Is it possible to display a ready formed SQL after operation:

 $r = \App\Visitor::create($item);

Where $item is array data.

I wonder why this operation returns in $r inserted model, but there is no chnages in db table.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire