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

Method withCollection

src/utils.ts:271–273  ·  view source on GitHub ↗
(collection: string)

Source from the content-addressed store, hash-verified

269 }
270
271 withCollection(collection: string): MongoDBCollectionNamespace {
272 return new MongoDBCollectionNamespace(this.db, collection);
273 }
274
275 static fromString(namespace?: string): MongoDBNamespace {
276 if (typeof namespace !== 'string' || namespace === '') {

Callers 4

utils.test.tsFile · 0.80
constructorMethod · 0.80
constructorFunction · 0.80
buildCommandDocumentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected