Last active
March 4, 2019 13:00
-
-
Save matheus-santos/4417f9713e1a14ece84a29f791945c5c to your computer and use it in GitHub Desktop.
See last executed queries in Laravel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\DB::enableQueryLog(); | |
// Laravel query operation here ... | |
print_r(\DB::getQueryLog()); exit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment