Last active
August 29, 2015 14:04
-
-
Save jonasporto/e7a837170f5bb1107e92 to your computer and use it in GitHub Desktop.
Ver as queries realizadas em uma requisição
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
Debug ativo nivel 2, e Model (qualquer model que contenha uma tabela e esteja listada em $uses.) | |
$log = $this->Model->getDataSource()->getLog(false, false); | |
older versions | |
$log = $this->Model->getDataSource()->showLog( false ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment