Mongo::Commands::IsMaster
isMaster returns a document that describes the role of the mongod instance.
NOTE: for more details, please check the official MongoDB documentation.
Constants
OS_TYPE = {% if host_flag?(:linux) %} "Linux" {% elsif host_flag?(:darwin) %} "Darwin" {% elsif host_flag?(:win32) %} "Windows" {% else %} "Unknown" {% end %}
Class methods
name
SourceInstance methods
Returns a pair of OP_MSG body and sequences associated with the command and arguments.