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

Method replSetGetStatus

src/admin.ts:170–172  ·  view source on GitHub ↗

* Get ReplicaSet status * * @param options - Optional settings for the command

(options?: CommandOperationOptions)

Source from the content-addressed store, hash-verified

168 * @param options - Optional settings for the command
169 */
170 async replSetGetStatus(options?: CommandOperationOptions): Promise<Document> {
171 return await this.command({ replSetGetStatus: 1 }, options);
172 }
173}

Callers 1

Calls 1

commandMethod · 0.95

Tested by

no test coverage detected