http://bakery.cakephp.org/articles/view/use-multiple-databases-in-one-app-based-on-requested-url

This might point you in the right direction?

On Aug 12, 3:08 pm, Roland Pish <[email protected]> wrote:
> Hi.
>
> I'm developing a project which needs to access two databases in a
> single sql query (or in a single Find call), so my question is if in
> cakephp is possible to perform a Find like:
>
> select * from `database1`.`table` where `database1`.`table`.`id` in
> (select id from `database2`.`table`)
>
> Thanks in advance!

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to