Module: Mongo::Operation Private
Do not use. This module is for internal use only.
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
-
ARRAY_FILTERS =
# File 'lib/mongo/operation.rb', line 104
The array filters field constant.
'arrayFilters'.freeze
-
CLUSTER_TIME =
# File 'lib/mongo/operation.rb', line 115Deprecated.
The cluster time field constant.
'$clusterTime'.freeze
-
COLLATION =
# File 'lib/mongo/operation.rb', line 99
The collation field constant.
'collation'.freeze
-
LIMIT =
# File 'lib/mongo/operation.rb', line 84
The limit field constant.
'limit'.freeze
-
MULTI =
# File 'lib/mongo/operation.rb', line 89
The multi field constant.
'multi'.freeze
-
OPERATION_TIME =
# File 'lib/mongo/operation.rb', line 109
The operation time field constant.
'operationTime'.freeze
-
Q =
# File 'lib/mongo/operation.rb', line 74
The q field constant.
'q'.freeze
-
U =
# File 'lib/mongo/operation.rb', line 79
The u field constant.
'u'.freeze
-
UPSERT =
# File 'lib/mongo/operation.rb', line 94
The upsert field constant.
'upsert'.freeze