Module: Mongo::Operation::Find::Builder::Flags Private
- Defined in:
- build/ruby-driver-master/lib/mongo/operation/find/builder/flags.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.
Provides behavior for converting Ruby options to wire protocol flags when sending find and related commands (e.g. explain).
Constant Summary collapse
- 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.
Options to cursor flags mapping.
{ :allow_partial_results => [ :partial ], :oplog_replay => [ :oplog_replay ], :no_cursor_timeout => [ :no_cursor_timeout ], :tailable => [ :tailable_cursor ], :tailable_await => [ :await_data, :tailable_cursor], :await_data => [ :await_data ], :exhaust => [ :exhaust ], }.freeze