def command(database, cmd, options = {})
      read(Protocol::Command.new(database, cmd, options))
    end
def command(database, cmd, options = {})
      read(Protocol::Command.new(database, cmd, options))
    end
Execute a command against a database.

 @example Execute a command.
   node.command(database, { ping: 1 })

 @param [ Database ] database The database to run the command on.
 @param [ Hash ] cmd The command to execute.
 @options [ Hash ] options The command options.

 @raise [ OperationFailure ] If the command failed.

 @return [ Hash ] The result of the command.

 @since 1.0.0