Class: Mongo::Operation::WriteCommand Private
Relationships & Source Files | |
Namespace Children | |
Classes:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
|
|
Inherits: | Object |
Defined in: | lib/mongo/operation/write_command.rb, lib/mongo/operation/write_command/op_msg.rb |
Overview
A MongoDB general command operation.
Constant Summary
Specifiable
- Included
BYPASS_DOC_VALIDATION, COLLATION, COLL_NAME, CURSOR_COUNT, CURSOR_ID, DB_NAME, DELETE, DELETES, DOCUMENTS, INDEX, INDEXES, INDEX_NAME, MAX_TIME_MS, OPERATION_ID, OPTIONS, READ, READ_CONCERN, SELECTOR, TO_RETURN, UPDATE, UPDATES, USER, USER_NAME, WRITE_CONCERN
Instance Attribute Summary
Specifiable
- Included
#acknowledged_write? | Does the operation have an acknowledged write concern. |
#ordered? | Whether the operation is ordered. |
#spec |
Instance Method Summary
OpMsgExecutable
- Included
#execute | Execute the operation. |
#execute_with_connection | Execute the operation. |
#final_operation |
PolymorphicLookup
- Included
Specifiable
- Included
#== | Check equality of two specifiable operations. |
#apply_collation, | |
#array_filters | The array filters. |
#bypass_document_validation | Whether or not to bypass document level validation. |
#coll_name | The name of the collection to which the operation should be sent. |
#collation | The collation to apply to the operation. |
#command | The command. |
#cursor_count | Get the cursor count from the spec. |
#cursor_id | The id of the cursor created on the server. |
#db_name | The name of the database to which the operation should be sent. |
#delete | Get the delete document from the specification. |
#deletes | Get the deletes from the specification. |
#documents | The documents to in the specification. |
#eql? | Alias for Specifiable#==. |
#index | Get the index from the specification. |
#index_id | Get the index id from the spec. |
#index_name | Get the index name from the spec. |
#indexes | Get the indexes from the specification. |
#initialize |
|
#max_time_ms | Get the max time ms value from the spec. |
#namespace | The namespace, consisting of the db name and collection name. |
#operation_id | Get the operation id for the operation. |
#options | Get the options for executing the operation on a particular connection. |
#read | The read preference for this operation. |
#read_concern | Get the read concern document from the spec. |
#selector | The selector from the specification for execution on a particular connection. |
#session | The session to use for the operation. |
#to_return | The number of documents to request from the server. |
#txn_num | The transaction number for the operation. |
#update | The update document from the spec. |
#updates | The update documents from the spec. |
#user | The user for user related operations. |
#user_name | The user name from the specification. |
#write_concern | The write concern to use for this operation. |