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

Method stats

src/db.ts:337–342  ·  view source on GitHub ↗

* Get all the db statistics. * * @param options - Optional settings for the command

(options?: DbStatsOptions)

Source from the content-addressed store, hash-verified

335 * @param options - Optional settings for the command
336 */
337 async stats(options?: DbStatsOptions): Promise<Document> {
338 return await executeOperation(
339 this.client,
340 new DbStatsOperation(this, resolveOptions(this, options))
341 );
342 }
343
344 /**
345 * List all collections of this database with optional filter

Callers 4

auth.prose.test.tsFile · 0.80
stats.test.tsFile · 0.80

Calls 2

executeOperationFunction · 0.90
resolveOptionsFunction · 0.90

Tested by

no test coverage detected