294 bsoncxx::v_noabi::types::bson_value::view_or_value> const&)
622 bsoncxx::v_noabi::stdx::optional<
bool> _allow_disk_use;
623 bsoncxx::v_noabi::stdx::optional<
bool> _allow_partial_results;
624 bsoncxx::v_noabi::stdx::optional<std::int32_t> _batch_size;
625 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _collation;
626 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::
string::view_or_value> _comment;
629 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _let;
630 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::types::bson_value::view_or_value> _comment_option;
631 bsoncxx::v_noabi::stdx::optional<std::int64_t> _limit;
632 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _max;
633 bsoncxx::v_noabi::stdx::optional<std::chrono::milliseconds> _max_await_time;
634 bsoncxx::v_noabi::stdx::optional<std::chrono::milliseconds> _max_time;
635 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _min;
636 bsoncxx::v_noabi::stdx::optional<
bool> _no_cursor_timeout;
637 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _projection;
639 bsoncxx::v_noabi::stdx::optional<
bool> _return_key;
640 bsoncxx::v_noabi::stdx::optional<
bool> _show_record_id;
641 bsoncxx::v_noabi::stdx::optional<std::int64_t> _skip;
642 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _ordering;
649#include <mongocxx/config/postlude.hpp>
A polyfill for std::optional<T>.
Definition optional.hpp:800
A cursor over the documents returned by a query to a MongoDB server.
Definition cursor.hpp:42
The index to "hint" or force a MongoDB server to use when performing a query.
Definition hint.hpp:35
Used by MongoDB find operations.
Definition find.hpp:40
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view_or_value > const & collation() const
Retrieves the current collation for this operation.
bsoncxx::v_noabi::stdx::optional< cursor::type > const & cursor_type() const
Gets the current cursor type.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view_or_value > const & min() const
Sets the current inclusive lower bound for a specific index.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view_or_value > const & sort() const
Gets the current sort ordering for this query.
find & allow_partial_results(bool allow_partial)
Sets whether to allow partial results from a mongos if some shards are down (instead of throwing an e...
bsoncxx::v_noabi::stdx::optional< bool > const & allow_partial_results() const
Gets the current setting for allowing partial results from mongos.
bsoncxx::v_noabi::stdx::optional< std::int64_t > const & limit() const
Gets the current limit.
find & allow_disk_use(bool allow_disk_use)
Enables writing to temporary files on the server. When set to true, the server can write temporary da...
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view_or_value > const let() const
Gets the current value of the let option.
bsoncxx::v_noabi::stdx::optional< bool > const & show_record_id() const
Gets the current setting for whether the record identifier is returned for each document in the query...
bsoncxx::v_noabi::stdx::optional< std::int32_t > const & batch_size() const
The current batch size setting.
bsoncxx::v_noabi::stdx::optional< bool > const & allow_disk_use() const
Gets the current setting for allowing disk use on the server.
bsoncxx::v_noabi::stdx::optional< bool > const & no_cursor_timeout() const
Gets the current no_cursor_timeout setting.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::types::bson_value::view_or_value > const & comment_option() const
Gets the current value of the comment option.
bsoncxx::v_noabi::stdx::optional< std::int64_t > const & skip() const
Gets the current number of documents to skip.
bsoncxx::v_noabi::stdx::optional< std::chrono::milliseconds > const & max_await_time() const
The maximum amount of time for the server to wait on new documents to satisfy a tailable cursor query...
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view_or_value > const & max() const
Sets the current exclusive upper bound for a specific index.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > const & comment() const
Gets the current comment attached to this query.
bsoncxx::v_noabi::stdx::optional< std::chrono::milliseconds > const & max_time() const
The current max_time_ms setting.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view_or_value > const & projection() const
Gets the current projection set on this query.
bsoncxx::v_noabi::stdx::optional< bool > const & return_key() const
Gets the current setting for returning the index keys associated with the query results,...
Describes how MongoDB clients route read operations to the members of a replica set or sharded cluste...
Definition read_preference.hpp:49
Provides mongocxx::v_noabi::cursor.
Provides bsoncxx::v_noabi::document::view_or_value.
Declares mongocxx::v_noabi::options::find.
Provides mongocxx::v_noabi::hint.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
The top-level namespace within which all mongocxx library entities are declared.
Provides mongocxx::v_noabi::read_preference.
Provides bsoncxx::v_noabi::string::view_or_value.
Provides bsoncxx::v_noabi::types::bson_value::view_or_value.
Provides std::optional-related polyfills for library API usage.