123456789_123456789_123456789_123456789_123456789_

Module: Mongo::Operation::Find::Builder::Modifiers Private

Do not use. This module is for internal use only.
Relationships & Source Files
Defined in: lib/mongo/operation/find/builder/modifiers.rb

Overview

Provides behavior for mapping Ruby options to legacy OP_QUERY find modifiers.

This module is used in two ways:

  1. When Collection#find is invoked with the legacy OP_QUERY syntax (:$query argument etc.), this module is used to map the legacy parameters into the Ruby options that normally are used by applications.

  2. When sending a find operation using the OP_QUERY protocol, this module is used to map the Ruby find options to the modifiers in the wire protocol message.

Since:

  • 2.0.0

Constant Summary