how can I debug a query that it what its going to run,
like
$this->Article->find('all',array('id'=>123)); is probably running something like
select * from articles where article.id = 123; but how can I be sure and can see that in a debug or something.
thanks
Set
app/core/config.php debug = 2http://book.cakephp.org/view/924/The-Configuration-Class#CakePHP-Core-Configuration-Variables-931