Friday, 15 May 2015

php - how to print SQL statement in Laravel 5 -


As you know, we use the DB :: getQueryLog () You can use.

query logs call in L5

  DB :: Connection () - & gt; EnableQueryLog (); $ Queries = db :: getQueryLog ();  

Before trying to log in. See for more information.


No comments:

Post a Comment