Skip to content

Tag Archives: debugging

You are here:
  1. Home
  2. Entries tagged with "debugging"

Get latest SQL query

CakePHPBy kavecanSeptember 11, 2015

When debugging CakePHP code, it’s very useful to know which SQL query is executed latest. Use next few lines to get this information $log = $this->Model->getDataSource()->getLog(false, false); debug($log);

© 2026. Kavecan.com. All rights reserved.
Go to Top