Class Mongo::Cursor::Builder::KillCursorsCommand
In: lib/mongo/cursor/builder/kill_cursors_command.rb
Parent: Object

Generates a specification for a kill cursors 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.

  KillCursorsCommand.new(cursor)

@param [ Cursor ] cursor The cursor.

@since 2.2.0

Public Instance methods

Get the specification.

@example Get the specification.

  kill_cursors_command.specification

@return [ Hash ] The spec.

@since 2.2.0

[Validate]