Module: Mongo::Operation Private
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 =
Internal use only
# File 'lib/mongo/operation.rb', line 105
The array filters field constant.
'arrayFilters'.freeze
-
CLUSTER_TIME =
Internal use only
# File 'lib/mongo/operation.rb', line 116Deprecated.
The cluster time field constant.
'$clusterTime'.freeze
-
COLLATION =
Internal use only
# File 'lib/mongo/operation.rb', line 100
The collation field constant.
'collation'.freeze
-
LIMIT =
Internal use only
# File 'lib/mongo/operation.rb', line 85
The limit field constant.
'limit'.freeze
-
MULTI =
Internal use only
# File 'lib/mongo/operation.rb', line 90
The multi field constant.
'multi'.freeze
-
OPERATION_TIME =
Internal use only
# File 'lib/mongo/operation.rb', line 110
The operation time field constant.
'operationTime'.freeze
-
Q =
Internal use only
# File 'lib/mongo/operation.rb', line 75
The q field constant.
'q'.freeze
-
U =
Internal use only
# File 'lib/mongo/operation.rb', line 80
The u field constant.
'u'.freeze
-
UPSERT =
Internal use only
# File 'lib/mongo/operation.rb', line 95
The upsert field constant.
'upsert'.freeze