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

Method admin

src/db.ts:310–312  ·  src/db.ts::Db.admin

Return the Admin db instance

()

Source from the content-addressed store, hash-verified

308
309 /** Return the Admin db instance */
310 admin(): Admin {
311 return new Admin(this);
312 }
313
314 /**
315 * Returns a reference to a MongoDB Collection. If it does not exist it will be created implicitly.

Calls

no outgoing calls

Tested by

no test coverage detected