I need to use 2 Mongo_URL to connect external Mongo database and one is to use to store users collection(i.e. Meteor.users).And I use the following method:
database = new MongoInternals.RemoteCollectionDriver( “mongodb://xxx.xx.x.x : xxxx/Users”);
Meteor.users = new Mongo.Collection(“users”, { _driver: database });
It comes an error : Error: A method named ‘/users/insert’ is already defined
It seems that the accounts package already created the default users collection ?
Can anyone help me if I must use MongoInternals.RemoteCollectionDriver ?
Thanks a lot !