On 8/6/07, Geoff Ford <[EMAIL PROTECTED]> wrote: > > Look into findAllByThreaded() it does what you need without the extra > overhead of an association. It requires a parent_id field (rather than > parentid) and no other association or anything.
Hi Geoff, I just look at the function and when I try it and set debug to 2, it is certainly more efficient in terms of queries than association model. Hm, will go thorough on this function. Thanks ! > > Geoff > -- > http://lemoncake.wordpress.com Regards, Feris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
