do you have to set recursion to anything to get $this->A->B->find(); to work?
On Oct 12, 8:00 am, AD7six <[EMAIL PROTECTED]> wrote: > On Oct 12, 3:04 pm, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote: > > > Unfortunately there's no makeQueriesSuckLess flag in Cake. Yet. It > > gets you the results you ask for, just don't ask how. If you care > > about the how, do it yourself. ;-) > > FUD. What's the point of using a framework if you are going to ignore > one if it's most powerful features. > > Define or bind B -> belongsTo C > Define or bind B -> hasOne A > > $result = $this->A->B->read/find(); > > $result will contain a, b and c --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
