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