Stu, I am trying to search over both Models and paginate the results. So I can't just do what you suggested. It needs to be one query. I have started working with joins but it's still not working.
On Apr 22, 2:10 pm, Stu <[email protected]> wrote: > What code are you trying right now? > > Seems like you're trying to find data based on an unknown column > > Usually for hasMany searches I would do this: > > $this->User->friend->find('foo', $options); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
