marceloxp
10/26/2015 - 12:06 PM

Log SQL queries on CakePHP

Log SQL queries on CakePHP

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