Module: Mongo::Operation::Find::Builder::Command Private
Do not use. This module is for internal use only.
Relationships & Source Files | |
Defined in: | lib/mongo/operation/find/builder/command.rb |
Overview
Builds a find command specification from options.
Constant Summary
-
OPTION_MAPPINGS =
The mappings from ruby options to the find command.
BSON::Document.new( allow_disk_use: 'allowDiskUse', allow_partial_results: 'allowPartialResults', await_data: 'awaitData', batch_size: 'batchSize', collation: 'collation', comment: 'comment', filter: 'filter', hint: 'hint', let: 'let', limit: 'limit', max_scan: 'maxScan', max_time_ms: 'maxTimeMS', max_value: 'max', min_value: 'min', no_cursor_timeout: 'noCursorTimeout', oplog_replay: 'oplogReplay', projection: 'projection', read_concern: 'readConcern', return_key: 'returnKey', show_disk_loc: 'showRecordId', single_batch: 'singleBatch', skip: 'skip', snapshot: 'snapshot', sort: 'sort', tailable: 'tailable', tailable_cursor: 'tailable', ).freeze