Posted By

sveggiani on 10/07/10


Tagged

cakephp not-mine


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

tmmyy


get the sql query of a model in cakephp


 / Published in: PHP
 

URL: http://www.questionhub.com/StackOverflow/3647065

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

Report this snippet  

You need to login to post a comment.