hi all - i m having trouble with associations. I have tables A with a foreign key to table B which has a foreign key to table C. Accordingly, model A belongsTo B, and B belongs to C. However, when i call A.read() i only get data for A and B. If i call B.read() i get data for B and C. I ve messed about with the $recursive attribute but that results in 2 queries being made: one that returns A+B and another that returns B+C - What should i do so that i get the data for A+B+C in one query?
thanks, jason --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
