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

Function normalizeReadPreference

test/tools/spec-runner/index.js:571–573  ·  view source on GitHub ↗
(mode)

Source from the content-addressed store, hash-verified

569}
570
571function normalizeReadPreference(mode) {
572 return mode.charAt(0).toLowerCase() + mode.substr(1);
573}
574
575function resolveOperationArgs(operationName, operationArgs, context) {
576 const result = [];

Callers 4

parseSessionOptionsFunction · 0.85
resolveOperationArgsFunction · 0.85
testOperationFunction · 0.85
convertCollectionOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected