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

Method serverInfo

src/admin.ts:102–104  ·  view source on GitHub ↗

* Retrieve the server build information * * @param options - Optional settings for the command

(options?: CommandOperationOptions)

Source from the content-addressed store, hash-verified

100 * @param options - Optional settings for the command
101 */
102 async serverInfo(options?: CommandOperationOptions): Promise<Document> {
103 return await this.command({ buildinfo: 1 }, options);
104 }
105
106 /**
107 * Retrieve this db's server status.

Callers 1

Calls 1

commandMethod · 0.95

Tested by

no test coverage detected