Class Mongo::Cursor::Builder::GetMoreCommand
In: lib/mongo/cursor/builder/get_more_command.rb
Parent: Object

Generates a specification for a get more command.

@since 2.2.0

Methods

new   specification  

Attributes

cursor  [R]  @return [ Cursor ] cursor The cursor.

Public Class methods

Create the new builder.

@example Create the builder.

  GetMoreCommand.new(cursor)

@param [ Cursor ] cursor The cursor. @param [ Session ] session The session.

@since 2.2.0

Public Instance methods

Get the specification.

@example Get the specification.

  get_more_command.specification

@return [ Hash ] The spec.

@since 2.2.0

[Validate]