I want to query a HABTM relationship, with two relationships.

Say I have tables
players
positions
players_positions

And I want to find players who are both shortstops (Position.id=1) and
pitchers (Position.id=3).

Is there a cake way to do this?

--
Thanks,
Ryan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to