MCPcopy
hub / github.com/mongodb/node-mongodb-native / uri

Method uri

test/tools/common.js:12–16  ·  view source on GitHub ↗
(dbName)

Source from the content-addressed store, hash-verified

10 }
11
12 uri(dbName) {
13 return `mongodb://${this.primaryServer.uri()},${this.firstSecondaryServer.uri()},${this.secondSecondaryServer.uri()}/${
14 dbName || 'test'
15 }?replicaSet=rs`;
16 }
17
18 setup(options) {
19 options = options || {};

Callers 15

setupMethod · 0.45
defineReplSetStatesMethod · 0.45
mongodbURIMethod · 0.45
helloMethod · 0.45
connection.test.tsFile · 0.45
testAggregateFunction · 0.45
testFindOneAndUpdateFunction · 0.45
testBulkWriteFunction · 0.45
client.test.jsFile · 0.45

Calls

no outgoing calls

Tested by 5

mongodbURIMethod · 0.36
helloMethod · 0.36
testAggregateFunction · 0.36
testFindOneAndUpdateFunction · 0.36
testBulkWriteFunction · 0.36