Class: Mongo::Operation::CursorCommand Private

Inherits:
Object
  • Object
show all
Includes:
OpMsgExecutable, Specifiable
Defined in:
lib/mongo/operation/cursor_command.rb,
lib/mongo/operation/cursor_command/op_msg.rb,
lib/mongo/operation/cursor_command/result.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

A command operation whose response is parsed as a cursor.

Unlike Command, the result exposes the firstBatch, namespace, and cursor id from the command response so that a Cursor can be built from it.

Defined Under Namespace

Classes: OpMsg, Result

Method Summary

Methods included from OpMsgExecutable

#execute, #execute_with_connection