module Mongo::Operation

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.

@api private

Constants

ARRAY_FILTERS

The array filters field constant.

@since 2.5.0

CLUSTER_TIME

The cluster time field constant.

@since 2.5.0 @deprecated

COLLATION

The collation field constant.

@since 2.4.0

LIMIT

The limit field constant.

@since 2.1.0

MULTI

The multi field constant.

@since 2.1.0

OPERATION_TIME

The operation time field constant.

@since 2.5.0

Q

The q field constant.

@since 2.1.0

U

The u field constant.

@since 2.1.0

UPSERT

The upsert field constant.

@since 2.1.0