Module: Mongo::Operation::Find::Builder::Legacy Private
- Defined in:
- build/ruby-driver-master/lib/mongo/operation/find/builder/legacy.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Builds a legacy OP_QUERY specification from options.
Constant Summary collapse
- DRIVER_MAPPINGS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Mappings from driver options to legacy server values.
{ comment: '$comment', explain: '$explain', hint: '$hint', max_scan: '$maxScan', max_time_ms: '$maxTimeMS', max_value: '$max', min_value: '$min', show_disk_loc: '$showDiskLoc', snapshot: '$snapshot', sort: '$orderby', return_key: '$returnKey', }.freeze
Class Method Summary collapse
- .$query ⇒ Object
- .$readPreference ⇒ Object
- .allow_disk_use ⇒ Object
- .batch_size ⇒ Object
- .collation ⇒ Object
- .filter ⇒ Object
- .flags ⇒ Object
- .limit ⇒ Object
- .projection ⇒ Object
- .read ⇒ Object
- .read_preference ⇒ Object
- .skip ⇒ Object
- .Spec cannot include :read_preference here, use :read ⇒ Object
- .The spec must contain symbol keys only ⇒ Object