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
Would you be open to a PR that would accept a promise that resolves to a mongo DB instance? The implementation would probably look something like the following in the constructor:
This would be very much appreciated. In node-mongodb-native 2+ you connect without using a db instance and only have access to the db in a callback. So accepting a promise for the db would prevent us from having to beat around the bush. 👍
Would you be open to a PR that would accept a promise that resolves to a mongo DB instance? The implementation would probably look something like the following in the constructor:
The text was updated successfully, but these errors were encountered: