Module: Mongo::Operation::Find::Builder::Flags Private
Do not use. This module is for internal use only.
| Relationships & Source Files | |
| Defined in: | lib/mongo/operation/find/builder/flags.rb |
Overview
Provides behavior for converting Ruby options to wire protocol flags when sending find and related commands (e.g. explain).
Constant Summary
-
MAPPINGS =
# File 'lib/mongo/operation/find/builder/flags.rb', line 27
::Mongo::Optionsto cursor flags mapping.{ allow_partial_results: [ :partial ], oplog_replay: [ :oplog_replay ], no_cursor_timeout: [ :no_cursor_timeout ], tailable: [ :tailable_cursor ], tailable_await: %i[await_data tailable_cursor], await_data: [ :await_data ], exhaust: [ :exhaust ], }.freeze