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

Method ping

src/admin.ts:120–122  ·  view source on GitHub ↗

* Ping the MongoDB server and retrieve results * * @param options - Optional settings for the command

(options?: CommandOperationOptions)

Source from the content-addressed store, hash-verified

118 * @param options - Optional settings for the command
119 */
120 async ping(options?: CommandOperationOptions): Promise<Document> {
121 return await this.command({ ping: 1 }, options);
122 }
123
124 /**
125 * Remove a user from a database

Calls 1

commandMethod · 0.95

Tested by

no test coverage detected