Skip to content
This repository was archived by the owner on Jul 15, 2018. It is now read-only.

Allow existing Mongo DB object to be used when creating DB wrapper#24

Open
graemian wants to merge 4 commits intoolegp:masterfrom
taskputty:master
Open

Allow existing Mongo DB object to be used when creating DB wrapper#24
graemian wants to merge 4 commits intoolegp:masterfrom
taskputty:master

Conversation

@graemian
Copy link

No description provided.

@olegp
Copy link
Owner

olegp commented Dec 19, 2014

Wouldn't it be better to use the first argument for the db object, since it's mutually exclusive with the server, name & uri arg? So, you could call it either as new DB(server, name, uri) or new DB(db).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants