Class: Mongo::Operation::KillCursors
- Inherits:
-
Object
- Object
- Mongo::Operation::KillCursors
- Includes:
- Executable, Specifiable
- Defined in:
- lib/mongo/operation/kill_cursors.rb
Overview
A MongoDB kill cursors operation.
Initialization:
param [ Hash ] spec The specifications for the operation.
option spec :cursor_ids [ Array ] The ids of cursors to kill.
Constant Summary
Constants included from Specifiable
Specifiable::BYPASS_DOC_VALIDATION, Specifiable::COLL_NAME, Specifiable::CURSOR_COUNT, Specifiable::CURSOR_ID, Specifiable::CURSOR_IDS, Specifiable::DB_NAME, Specifiable::DELETE, Specifiable::DELETES, Specifiable::DOCUMENTS, Specifiable::INDEX, Specifiable::INDEXES, Specifiable::INDEX_NAME, Specifiable::OPERATION_ID, Specifiable::OPTIONS, Specifiable::READ, Specifiable::READ_CONCERN, Specifiable::SELECTOR, Specifiable::TO_RETURN, Specifiable::UPDATE, Specifiable::UPDATES, Specifiable::USER, Specifiable::USER_NAME, Specifiable::WRITE_CONCERN
Instance Attribute Summary
Attributes included from Specifiable
Method Summary
Methods included from Executable
Methods included from Specifiable
#==, #bypass_document_validation, #coll_name, #cursor_count, #cursor_id, #cursor_ids, #db_name, #delete, #deletes, #documents, #index, #index_name, #indexes, #initialize, #namespace, #operation_id, #options, #ordered?, #read, #read_concern, #selector, #to_return, #update, #updates, #user, #user_name, #write_concern