-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow replace mongo url on grid #169
Comments
grid server coffe change this and collection._driver maybe |
Hi, I'm not really understanding exactly what you are proposing or what problem it will solve. Can you please explain in a bit more detail what this is about? |
oh sorry about my english, i was on my phone, let me try to explain. a meteor collection can change mongourl by using MongoInternals.RemoteCollectionDriver
and we can even change mongourl dynamically by reassign collection._driver
but with file collection, changing collection._driver seems not working. maybe we can add a method to reassign @gfs = new grid(@db, mongodb, @root) https://github.com/vsivsi/meteor-file-collection/blob/master/src/gridFS_server.coffee#L48 i think we can
a method that change both mongourl
https://github.com/meteor/meteor/blob/devel/packages/mongo/remote_collection_driver.js |
meteor has remoteCollectionDriver method to change mongourl
but call remoteCollectionDriver method doesnt
have to replace grid db driver too
The text was updated successfully, but these errors were encountered: