Module: Mongo::Operation

Defined in:
lib/mongo/operation.rb,
lib/mongo/operation/drop.rb,
lib/mongo/operation/find.rb,
lib/mongo/operation/count.rb,
lib/mongo/operation/create.rb,
lib/mongo/operation/delete.rb,
lib/mongo/operation/insert.rb,
lib/mongo/operation/result.rb,
lib/mongo/operation/update.rb,
lib/mongo/operation/command.rb,
lib/mongo/operation/explain.rb,
lib/mongo/operation/indexes.rb,
lib/mongo/operation/distinct.rb,
lib/mongo/operation/get_more.rb,
lib/mongo/operation/aggregate.rb,
lib/mongo/operation/drop_index.rb,
lib/mongo/operation/map_reduce.rb,
lib/mongo/operation/users_info.rb,
lib/mongo/operation/create_user.rb,
lib/mongo/operation/drop/op_msg.rb,
lib/mongo/operation/find/legacy.rb,
lib/mongo/operation/find/op_msg.rb,
lib/mongo/operation/find/result.rb,
lib/mongo/operation/op_msg_base.rb,
lib/mongo/operation/remove_user.rb,
lib/mongo/operation/update_user.rb,
lib/mongo/operation/count/op_msg.rb,
lib/mongo/operation/create_index.rb,
lib/mongo/operation/drop/command.rb,
lib/mongo/operation/find/command.rb,
lib/mongo/operation/kill_cursors.rb,
lib/mongo/operation/shared/write.rb,
lib/mongo/operation/count/command.rb,
lib/mongo/operation/create/op_msg.rb,
lib/mongo/operation/delete/legacy.rb,
lib/mongo/operation/delete/op_msg.rb,
lib/mongo/operation/delete/result.rb,
lib/mongo/operation/drop_database.rb,
lib/mongo/operation/insert/legacy.rb,
lib/mongo/operation/insert/op_msg.rb,
lib/mongo/operation/insert/result.rb,
lib/mongo/operation/parallel_scan.rb,
lib/mongo/operation/shared/idable.rb,
lib/mongo/operation/update/legacy.rb,
lib/mongo/operation/update/op_msg.rb,
lib/mongo/operation/update/result.rb,
lib/mongo/operation/command/op_msg.rb,
lib/mongo/operation/create/command.rb,
lib/mongo/operation/delete/command.rb,
lib/mongo/operation/explain/legacy.rb,
lib/mongo/operation/explain/op_msg.rb,
lib/mongo/operation/explain/result.rb,
lib/mongo/operation/indexes/legacy.rb,
lib/mongo/operation/indexes/op_msg.rb,
lib/mongo/operation/indexes/result.rb,
lib/mongo/operation/insert/command.rb,
lib/mongo/operation/shared/limited.rb,
lib/mongo/operation/update/command.rb,
lib/mongo/operation/command/command.rb,
lib/mongo/operation/distinct/op_msg.rb,
lib/mongo/operation/explain/command.rb,
lib/mongo/operation/get_more/legacy.rb,
lib/mongo/operation/get_more/op_msg.rb,
lib/mongo/operation/get_more/result.rb,
lib/mongo/operation/indexes/command.rb,
lib/mongo/operation/aggregate/op_msg.rb,
lib/mongo/operation/aggregate/result.rb,
lib/mongo/operation/collections_info.rb,
lib/mongo/operation/distinct/command.rb,
lib/mongo/operation/get_more/command.rb,
lib/mongo/operation/list_collections.rb,
lib/mongo/operation/aggregate/command.rb,
lib/mongo/operation/drop_index/op_msg.rb,
lib/mongo/operation/map_reduce/op_msg.rb,
lib/mongo/operation/map_reduce/result.rb,
lib/mongo/operation/shared/executable.rb,
lib/mongo/operation/users_info/op_msg.rb,
lib/mongo/operation/users_info/result.rb,
lib/mongo/operation/create_user/op_msg.rb,
lib/mongo/operation/delete/bulk_result.rb,
lib/mongo/operation/drop_index/command.rb,
lib/mongo/operation/find/legacy/result.rb,
lib/mongo/operation/insert/bulk_result.rb,
lib/mongo/operation/map_reduce/command.rb,
lib/mongo/operation/remove_user/op_msg.rb,
lib/mongo/operation/shared/specifiable.rb,
lib/mongo/operation/update/bulk_result.rb,
lib/mongo/operation/update_user/op_msg.rb,
lib/mongo/operation/users_info/command.rb,
lib/mongo/operation/create_index/op_msg.rb,
lib/mongo/operation/create_user/command.rb,
lib/mongo/operation/kill_cursors/legacy.rb,
lib/mongo/operation/kill_cursors/op_msg.rb,
lib/mongo/operation/remove_user/command.rb,
lib/mongo/operation/update_user/command.rb,
lib/mongo/operation/create_index/command.rb,
lib/mongo/operation/drop_database/op_msg.rb,
lib/mongo/operation/kill_cursors/command.rb,
lib/mongo/operation/parallel_scan/op_msg.rb,
lib/mongo/operation/parallel_scan/result.rb,
lib/mongo/operation/update/legacy/result.rb,
lib/mongo/operation/drop_database/command.rb,
lib/mongo/operation/parallel_scan/command.rb,
lib/mongo/operation/collections_info/result.rb,
lib/mongo/operation/list_collections/op_msg.rb,
lib/mongo/operation/list_collections/result.rb,
lib/mongo/operation/list_collections/command.rb,
lib/mongo/operation/shared/op_msg_or_command.rb,
lib/mongo/operation/shared/response_handling.rb,
lib/mongo/operation/shared/polymorphic_lookup.rb,
lib/mongo/operation/shared/polymorphic_result.rb,
lib/mongo/operation/shared/sessions_supported.rb,
lib/mongo/operation/shared/object_id_generator.rb,
lib/mongo/operation/shared/result/aggregatable.rb,
lib/mongo/operation/shared/executable_no_validate.rb,
lib/mongo/operation/shared/op_msg_or_find_command.rb,
lib/mongo/operation/shared/write_concern_supported.rb,
lib/mongo/operation/shared/read_preference_supported.rb,
lib/mongo/operation/shared/bypass_document_validation.rb,
lib/mongo/operation/shared/causal_consistency_supported.rb,
lib/mongo/operation/shared/executable_transaction_label.rb,
lib/mongo/operation/shared/op_msg_or_list_indexes_command.rb,
lib/mongo/operation/shared/result/use_legacy_error_parser.rb

Defined Under Namespace

Modules: BypassDocumentValidation, CausalConsistencySupported, Executable, ExecutableNoValidate, ExecutableTransactionLabel, Idable, Limited, OpMsgOrCommand, OpMsgOrFindCommand, OpMsgOrListIndexesCommand, PolymorphicLookup, PolymorphicResult, ReadPreferenceSupported, ResponseHandling, SessionsSupported, Specifiable, Write, WriteConcernSupported Classes: Aggregate, CollectionsInfo, Command, Count, Create, CreateIndex, CreateUser, Delete, Distinct, Drop, DropDatabase, DropIndex, Explain, Find, GetMore, Indexes, Insert, KillCursors, ListCollections, MapReduce, ObjectIdGenerator, OpMsgBase, ParallelScan, RemoveUser, Result, Update, UpdateUser, UsersInfo

Constant Summary collapse

Q =

The q field constant.

Since:

  • 2.1.0

'q'.freeze
U =

The u field constant.

Since:

  • 2.1.0

'u'.freeze
LIMIT =

The limit field constant.

Since:

  • 2.1.0

'limit'.freeze
MULTI =

The multi field constant.

Since:

  • 2.1.0

'multi'.freeze
UPSERT =

The upsert field constant.

Since:

  • 2.1.0

'upsert'.freeze
COLLATION =

The collation field constant.

Since:

  • 2.4.0

'collation'.freeze
ARRAY_FILTERS =

The array filters field constant.

Since:

  • 2.5.0

'arrayFilters'.freeze
OPERATION_TIME =

The operation time field constant.

Since:

  • 2.5.0

'operationTime'.freeze
CLUSTER_TIME =
Deprecated.

The cluster time field constant.

Since:

  • 2.5.0

'$clusterTime'.freeze