Class: Mongo::Operation::Insert Private

Inherits:
Object
  • Object
show all
Includes:
Specifiable, Write
Defined in:
build/ruby-driver-v2.19/lib/mongo/operation/insert.rb,
build/ruby-driver-v2.19/lib/mongo/operation/insert/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/insert/result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/insert/bulk_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 MongoDB insert operation.

Since:

  • 2.0.0

Defined Under Namespace

Classes: BulkResult, OpMsg, Result

Constant Summary

Constants included from Specifiable

Specifiable::BYPASS_DOC_VALIDATION, Specifiable::COLLATION, Specifiable::COLL_NAME, Specifiable::CURSOR_COUNT, Specifiable::CURSOR_ID, Specifiable::DB_NAME, Specifiable::DELETE, Specifiable::DELETES, Specifiable::DOCUMENTS, Specifiable::INDEX, Specifiable::INDEXES, Specifiable::INDEX_NAME, Specifiable::MAX_TIME_MS, 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

#spec

Method Summary

Methods included from Write

#bulk_execute, #execute, #execute_with_connection

Methods included from Specifiable

#==, #acknowledged_write?, #apply_collation, #array_filters, #bypass_document_validation, #coll_name, #collation, #command, #cursor_count, #cursor_id, #db_name, #delete, #deletes, #documents, #index, #index_name, #indexes, #initialize, #max_time_ms, #namespace, #operation_id, #options, #ordered?, #read, #read_concern, #selector, #session, #to_return, #txn_num, #update, #updates, #user, #user_name, #write_concern