module

Mongo::Commands::Ping

The ping command is a no-op used to test whether a server is responding to commands. This command will return immediately even if the server is write-locked.

NOTE: for more details, please check the official MongoDB documentation.

Class methods

name
Source

Instance methods

command

Returns a pair of OP_MSG body and sequences associated with the command and arguments.

Source