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:
https://github.com/nodkz/mongodb-memory-server/blob/1154d10d861077e143125aaa401ac269d556c1cb/packages/mongodb-memory-server-core/src/MongoMemoryReplSet.ts#L304

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.