-
Type: Bug
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Empty show more show less
Hello!
Setting "useNewUrlParser" to true seems to prevent the feature introduced in https://jira.mongodb.org/browse/NODE-1258 from working, where calling db() without dbName should default to the database name that was provided in the connection string. Explicitly providing a database name to db(), or unsetting useNewUrlParser works as expected.
Thank you!
- duplicates
-
NODE-1707 Driver overwrites database from uri with authSource from options
- Closed