Posted By

jmiller on 11/25/10


Tagged

debug cakephp queries


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

ReedD19


Debug CakePHP queries from controller


 / Published in: PHP
 

  1. $log = $this->User->getDataSource()->getLog(false, false);
  2. debug($log);
  3. die();

Report this snippet  

You need to login to post a comment.