You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is in fact possible using the _driver option to the Mongo.Collection constructor. Here's an (untested) example:
var d = new MongoInternals.RemoteCollectionDriver("<mongo url>");
C = new Mongo.Collection("<collection name>", { _driver: d });
This is an internal, undocumented, underscored interface, so use at your own risk. Also, in future, we prefer to answer this kind of question on Stack Overflow or meteor-talk, as we try to reserve GitHub for bug reports only. Thanks!
Sure, sorry. I wasn't sure what the protocol was. Thanks for updating that particular answer on SO (and thanks for answering me here too!), it's quite often referenced when looking at doing something like this.
(sorry if this is a duplicate issue, I could not find anything in search)
A StackOverflow post can be found here.
Will this be possible at any point in Meteor? It's cumbersome to have a second server running just for a second database.
The text was updated successfully, but these errors were encountered: