As far as I can tell, you cannot have models connecting to multiple database sources from the same module.
What I did was create a parallel dummy module that contains only the model, which should connect to an alternative database. Thus, the module that performs all the work is located in one branch, and the dummy module for communication with another database is separate. Solves the problem beautifully, although this is not the most elegant solution ... but it is not the least elegant either
sucitivel
source share