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

Method writeConcernMax

test/tools/runner/config.ts:445–451  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

443 }
444
445 writeConcernMax(): { writeConcern: WriteConcernSettings } {
446 if (this.topologyType !== TopologyType.Single) {
447 return { writeConcern: { w: 'majority', wtimeoutMS: 30000 } };
448 }
449
450 return { writeConcern: { w: 1 } };
451 }
452
453 kmsProviders(localKey): Record<string, any> {
454 return { local: { key: localKey } };

Callers 15

objectid.test.tsFile · 0.80
collection.test.tsFile · 0.80
find.test.tsFile · 0.80
insert.test.tsFile · 0.80
testFunction · 0.80
insertFunction · 0.80

Calls

no outgoing calls

Tested by 2

testFunction · 0.64
insertFunction · 0.64