Created
June 12, 2013 19:21
-
-
Save timothylhuillier/5768295 to your computer and use it in GitHub Desktop.
QueryLog : pour analyser les requête sql qui sont executés
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
// enregistre toute les requêtes éffectué une par une dans un array | |
$query = DB::getQueryLog(); | |
// affiche la dernière requête qui est executé | |
$last_query = end($query); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment