set debug level to 2 in config/core.php now it will print out the queries at the bottom of the page
On 24 Dez., 13:00, SeeVik <vikramvmalhotra1...@gmail.com> wrote: > Hello all > > I am trying to set my feet in CakePHP. I wanted to ask how can I know > what query is being executed when I write something like this... > > $cond = array( 'id={$param}' ); > $list = $this->TableName->findAll( $cond, null, > 'TableName.fieldName' ); > > Thanks and Regards > ShiVik Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en