Hi all,
findAll() seems to ignore the recursive option, no matter how I set
it. I'm running a HEAD version of 1.2 download sometime in mid April
to early May (sorry for the lack of clarity). Maybe I'm confused, but
I believe that, with my model Serviceaccount in a HABTM relationship
with the User model, I go do something like $this->Serviceaccount-
>findAll(array('User.id' => $some_id)) when $this->Serviceaccount-
>recursive is set to 1 or 2. Unfortunately, the generated SQL doesn't
do the joins to necessary to allow such a query.
Code here: http://bin.cakephp.org/view/956503259
Any ideas? Thanks!
Peter Robinett
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---