Hi,

If you're querying a model whose associated models are in another DB,
does it mean it's not possible to return results in model 1 only if
they have an associated record in model 2?

Example:

User (in DB1) HABTM Groups (in DB2) [join table is in DB2]

I want to select all users who have a record in the join table
(groups_users).

Is this possible?

Thanks,

_da.
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to