Yes, that should work. I haven't tried it, and I don't know how Cake queries in a situation like this, but it doesn't hurt to try. Try it out with scaffolding, and see if it works. Let us know.
On Apr 8, 1:49 pm, Sergei Gerasenko <[EMAIL PROTECTED]> wrote: > On Sun, Apr 08, 2007 at 06:58:33PM -0000, BlenderStyle wrote: > > > A brief overview. > > > You need to create separate entries in your database config file, one > > for each database. In your model, specify which database to use. Then, > > in your controller, specify which models to use. You can use multiple > > models in your controller. If you need to know the specifics of each > > of these steps, search or ask here. > > Well, the problem I have is that in one of the models that belongs to > database "A" I needed to include a "belongsTo" relationship with a model > in database "B". Is that possible? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
