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 =
# File 'lib/mongo/operation.rb', line 101
The array filters field constant.
'arrayFilters' -
CLUSTER_TIME =
# File 'lib/mongo/operation.rb', line 112Deprecated.
The cluster time field constant.
'$clusterTime' -
COLLATION =
# File 'lib/mongo/operation.rb', line 96
The collation field constant.
'collation' -
LIMIT =
# File 'lib/mongo/operation.rb', line 81
The limit field constant.
'limit' -
MULTI =
# File 'lib/mongo/operation.rb', line 86
The multi field constant.
'multi' -
OPERATION_TIME =
# File 'lib/mongo/operation.rb', line 106
The operation time field constant.
'operationTime' -
Q =
# File 'lib/mongo/operation.rb', line 71
The q field constant.
'q' -
U =
# File 'lib/mongo/operation.rb', line 76
The u field constant.
'u' -
UPSERT =
# File 'lib/mongo/operation.rb', line 91
The upsert field constant.
'upsert'