123456789_123456789_123456789_123456789_123456789_

Module: Mongo::Operation Private

Do not use. This module is for internal use only.
Relationships & Source Files
Namespace Children
Modules:
Classes:
Defined in: lib/mongo/operation.rb,
lib/mongo/operation/aggregate.rb,
lib/mongo/operation/collections_info.rb,
lib/mongo/operation/command.rb,
lib/mongo/operation/context.rb,
lib/mongo/operation/count.rb,
lib/mongo/operation/create.rb,
lib/mongo/operation/create_index.rb,
lib/mongo/operation/create_search_indexes.rb,
lib/mongo/operation/create_user.rb,
lib/mongo/operation/delete.rb,
lib/mongo/operation/distinct.rb,
lib/mongo/operation/drop.rb,
lib/mongo/operation/drop_database.rb,
lib/mongo/operation/drop_index.rb,
lib/mongo/operation/drop_search_index.rb,
lib/mongo/operation/explain.rb,
lib/mongo/operation/find.rb,
lib/mongo/operation/get_more.rb,
lib/mongo/operation/indexes.rb,
lib/mongo/operation/insert.rb,
lib/mongo/operation/kill_cursors.rb,
lib/mongo/operation/list_collections.rb,
lib/mongo/operation/map_reduce.rb,
lib/mongo/operation/op_msg_base.rb,
lib/mongo/operation/parallel_scan.rb,
lib/mongo/operation/remove_user.rb,
lib/mongo/operation/result.rb,
lib/mongo/operation/update.rb,
lib/mongo/operation/update_search_index.rb,
lib/mongo/operation/update_user.rb,
lib/mongo/operation/users_info.rb,
lib/mongo/operation/write_command.rb,
lib/mongo/operation/aggregate/op_msg.rb,
lib/mongo/operation/aggregate/result.rb,
lib/mongo/operation/collections_info/result.rb,
lib/mongo/operation/command/op_msg.rb,
lib/mongo/operation/count/op_msg.rb,
lib/mongo/operation/create/op_msg.rb,
lib/mongo/operation/create_index/op_msg.rb,
lib/mongo/operation/create_search_indexes/op_msg.rb,
lib/mongo/operation/create_user/op_msg.rb,
lib/mongo/operation/delete/bulk_result.rb,
lib/mongo/operation/delete/op_msg.rb,
lib/mongo/operation/delete/result.rb,
lib/mongo/operation/distinct/op_msg.rb,
lib/mongo/operation/drop/op_msg.rb,
lib/mongo/operation/drop_database/op_msg.rb,
lib/mongo/operation/drop_index/op_msg.rb,
lib/mongo/operation/drop_search_index/op_msg.rb,
lib/mongo/operation/explain/op_msg.rb,
lib/mongo/operation/explain/result.rb,
lib/mongo/operation/find/op_msg.rb,
lib/mongo/operation/find/result.rb,
lib/mongo/operation/find/builder/command.rb,
lib/mongo/operation/find/builder/flags.rb,
lib/mongo/operation/find/builder/modifiers.rb,
lib/mongo/operation/get_more/command_builder.rb,
lib/mongo/operation/get_more/op_msg.rb,
lib/mongo/operation/get_more/result.rb,
lib/mongo/operation/indexes/op_msg.rb,
lib/mongo/operation/indexes/result.rb,
lib/mongo/operation/insert/bulk_result.rb,
lib/mongo/operation/insert/op_msg.rb,
lib/mongo/operation/insert/result.rb,
lib/mongo/operation/kill_cursors/command_builder.rb,
lib/mongo/operation/kill_cursors/op_msg.rb,
lib/mongo/operation/list_collections/op_msg.rb,
lib/mongo/operation/list_collections/result.rb,
lib/mongo/operation/map_reduce/op_msg.rb,
lib/mongo/operation/map_reduce/result.rb,
lib/mongo/operation/parallel_scan/op_msg.rb,
lib/mongo/operation/parallel_scan/result.rb,
lib/mongo/operation/remove_user/op_msg.rb,
lib/mongo/operation/shared/bypass_document_validation.rb,
lib/mongo/operation/shared/causal_consistency_supported.rb,
lib/mongo/operation/shared/executable.rb,
lib/mongo/operation/shared/executable_no_validate.rb,
lib/mongo/operation/shared/executable_transaction_label.rb,
lib/mongo/operation/shared/idable.rb,
lib/mongo/operation/shared/limited.rb,
lib/mongo/operation/shared/object_id_generator.rb,
lib/mongo/operation/shared/op_msg_executable.rb,
lib/mongo/operation/shared/polymorphic_lookup.rb,
lib/mongo/operation/shared/polymorphic_result.rb,
lib/mongo/operation/shared/read_preference_supported.rb,
lib/mongo/operation/shared/response_handling.rb,
lib/mongo/operation/shared/sessions_supported.rb,
lib/mongo/operation/shared/specifiable.rb,
lib/mongo/operation/shared/timed.rb,
lib/mongo/operation/shared/validatable.rb,
lib/mongo/operation/shared/write.rb,
lib/mongo/operation/shared/write_concern_supported.rb,
lib/mongo/operation/shared/result/aggregatable.rb,
lib/mongo/operation/shared/result/use_legacy_error_parser.rb,
lib/mongo/operation/update/bulk_result.rb,
lib/mongo/operation/update/op_msg.rb,
lib/mongo/operation/update/result.rb,
lib/mongo/operation/update_search_index/op_msg.rb,
lib/mongo/operation/update_user/op_msg.rb,
lib/mongo/operation/users_info/op_msg.rb,
lib/mongo/operation/users_info/result.rb,
lib/mongo/operation/write_command/op_msg.rb

Overview

This module encapsulates all of the operation classes defined by the driver.

The operation classes take Ruby options as constructor parameters. For example, :read contains read preference and :read_concern contains read concern, whereas server commands use readConcern field for the read concern and read preference is passed as $readPreference or secondaryOk wire protocol flag bit.

Constant Summary