Skip to content

DB name is not added to url with replica set #613

Discussion options

You must be logged in to vote

this is currently not enabled by default, see comment tsdoc:

* @param otherDb add an database into the uri (in mongodb its the auth database, in mongoose its the default database for models)

TL;DR: by default no database is added to the URI, because of different parser implementations

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hasezoey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #612 on March 02, 2022 12:12.