I have 3 models: A belongs to B B belongs to C I want to findAll A where C.name='fred'.
I had assumed that cake would just left join the 3 tables and c.name would be accessible in the query. But regardless of what level of recursive I set, it only left joins A and B and then does multitudinous other queries to get C. Hence I can't refer to c.name in the query. I've searched and read lots of messages and trac item that implies that Cake is doing what it thinks is correct. If so, what is the recommended way of doing this query? Do the new 'bindable'/'container' behaviours (which should be used?) help with this? Thanks Peter --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
