Hi all, I don't want all queries to print just which I want in my code.
Thanks Manish Pithwa On Dec 8, 5:46 pm, Pablo Viojo <[email protected]> wrote: > If you change debug to 2 in core.php you can see all the queries made. > > Regards > > Pablo Viojo > [email protected]http://pviojo.net > > ¿Que necesitas?http://needish.com > > On Tue, Dec 8, 2009 at 7:46 AM, Manish Pithwa <[email protected]> wrote: > > Hi All, > > > Sometimes we want to see what query CakePHP has built and executed for > > find and save methods if query fails or we don't get desired result. > > In find method we pass array for conditions, order and grouping etc. > > but how they were interpreted to build SQL is checked if we can see > > the SQL (select * from..., update table set field='value'... etc.) . > > > So Please reply if anybody has to solution to get SQL for find and > > save method against array parameters passed to these. > > > Thanks in advance! > > > Manish Pithwa > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 [email protected] > > To unsubscribe from this group, send email to > > [email protected]<cake-php%[email protected]>For > > more options, visit this group at > >http://groups.google.com/group/cake-php?hl=en > > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
