Sam D
On 6/22/06, Matt <[EMAIL PROTECTED]> wrote:
Hello everyone,
Must say I am very impressed with CakePHP but I'm having trouble
getting my head around associations, particularly hasAndBelongsToMany.
The scenario is this, I've got two tables Users and Teams linked by a
join table. When I return a team using Team->find sometimes I only want
to return a subset of Users - is it possible to set conditions on the
associated models?
Thanks
Matt
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- Where conditions for hasAndBelongsToMany? Matt
- Re: Where conditions for hasAndBelongsToMany? Samuel DeVore
