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

Method add

src/sdam/server_selection.ts:31–33  ·  src/sdam/server_selection.ts::DeprioritizedServers.add
({ address }: ServerDescription)

Source from the content-addressed store, hash-verified

29 }
30
31 add({ address }: ServerDescription) {
32 this.deprioritized.add(address);
33 }
34
35 has({ address }: ServerDescription): boolean {
36 return this.deprioritized.has(address);

Callers 15

constructorMethod · 0.95
jquery.jsFile · 0.80
EeFunction · 0.80
SeFunction · 0.80
LeFunction · 0.80
getTestOpDefinitionsFunction · 0.80
isTestRunnerCommandFunction · 0.80
socks5.test.tsFile · 0.80
runFunction · 0.80

Calls

no outgoing calls

Tested by 1

runFunction · 0.64