633 bsoncxx::
v_noabi::stdx::optional<std::chrono::milliseconds> _max_await_time;
634 bsoncxx::
v_noabi::stdx::optional<std::chrono::milliseconds> _max_time;
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
Used by MongoDB find operations.
Definition find.hpp:40
find & read_preference(mongocxx::v_noabi::read_preference rp)
Sets the read_preference for this operation.
find & sort(bsoncxx::v_noabi::document::view_or_value ordering)
The order in which to return matching documents. If $orderby also exists in the modifiers document,...
find & let(bsoncxx::v_noabi::document::view_or_value let)
Set the value of the let option.
find & max_await_time(std::chrono::milliseconds max_await_time)
The maximum amount of time for the server to wait on new documents to satisfy a tailable cursor query...
find & return_key(bool return_key)
Sets whether to return the index keys associated with the query results, instead of the actual query ...
find & comment_option(bsoncxx::v_noabi::types::bson_value::view_or_value comment)
Set the value of the comment option.
find & no_cursor_timeout(bool no_cursor_timeout)
Sets the cursor flag to prevent cursor from timing out server-side due to a period of inactivity.
find & hint(mongocxx::v_noabi::hint index_hint)
Sets the index to use for this operation.
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...
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...
find & limit(std::int64_t limit)
Sets maximum number of documents to return.
find & max_time(std::chrono::milliseconds max_time)
Sets the maximum amount of time for this operation to run (server-side) in milliseconds.
find & cursor_type(cursor::type cursor_type)
Indicates the type of cursor to use for this query.
find & show_record_id(bool show_record_id)
Sets whether to include the record identifier for each document in the query results.
find & min(bsoncxx::v_noabi::document::view_or_value min)
Gets the current inclusive lower bound for a specific index.
bsoncxx::v_noabi::stdx::optional< bool > const & allow_disk_use() const
Gets the current setting for allowing disk use on the server.
find & skip(std::int64_t skip)
Sets the number of documents to skip before returning results.
find & comment(bsoncxx::v_noabi::string::view_or_value comment)
Attaches a comment to the query. If $comment also exists in the modifiers document then the comment f...
find & projection(bsoncxx::v_noabi::document::view_or_value projection)
Sets a projection which limits the returned fields for all matching documents.
find & max(bsoncxx::v_noabi::document::view_or_value max)
Gets the current exclusive upper bound for a specific index.
find & batch_size(std::int32_t batch_size)
Sets the number of documents to return per batch.
find & collation(bsoncxx::v_noabi::document::view_or_value collation)
Sets the collation for this operation.
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.
Declares entities representing options to use with various commands.
Declares entities whose ABI stability is NOT guaranteed.
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.