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

Function convertToConnStringMap

test/tools/runner/config.ts:60–67  ·  view source on GitHub ↗
(obj: Record<string, any>)

Source from the content-addressed store, hash-verified

58}
59
60function convertToConnStringMap(obj: Record<string, any>) {
61 const result = [];
62 Object.keys(obj).forEach(key => {
63 result.push(`${key}:${obj[key]}`);
64 });
65
66 return result.join(',');
67}
68
69function getCompressor(compressor: string | undefined): CompressorName {
70 if (!compressor) return null;

Callers 2

newClientMethod · 0.85
urlMethod · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected