290 const stdx::optional<
bsoncxx::v_noabi::types::bson_value::view_or_value>&)
616 stdx::optional<
bool> _allow_disk_use;
617 stdx::optional<
bool> _allow_partial_results;
618 stdx::optional<
std::int32_t> _batch_size;
619 stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _collation;
620 stdx::optional<
bsoncxx::v_noabi::
string::view_or_value> _comment;
621 stdx::optional<
cursor::type> _cursor_type;
623 stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _let;
624 stdx::optional<
bsoncxx::v_noabi::types::bson_value::view_or_value> _comment_option;
625 stdx::optional<
std::int64_t> _limit;
626 stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _max;
627 stdx::optional<
std::chrono::milliseconds> _max_await_time;
628 stdx::optional<
std::chrono::milliseconds> _max_time;
629 stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _min;
630 stdx::optional<
bool> _no_cursor_timeout;
631 stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _projection;
633 stdx::optional<
bool> _return_key;
634 stdx::optional<
bool> _show_record_id;
635 stdx::optional<
std::int64_t> _skip;
636 stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _ordering;
643#include <mongocxx/config/postlude.hpp>
A polyfill for std::optional<T>.
Definition optional.hpp:874
Class representing a pointer to the result set of a query on a MongoDB server.
Definition cursor.hpp:42
Class representing a hint to be passed to a database operation.
Definition hint.hpp:37
Class representing the optional arguments to a MongoDB query.
Definition find.hpp:40
const stdx::optional< std::int32_t > & batch_size() const
The current batch size setting.
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & min() const
Sets the current inclusive lower bound for a specific index.
const stdx::optional< bool > & show_record_id() const
Gets the current setting for whether the record identifier is returned for each document in the 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...
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & projection() const
Gets the current projection set on this query.
const stdx::optional< std::chrono::milliseconds > & max_time() const
The current max_time_ms setting.
const stdx::optional< bool > & allow_partial_results() const
Gets the current setting for allowing partial results from mongos.
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & collation() const
Retrieves the current collation for this operation.
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > let() const
Gets the current value of the let option.
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...
const stdx::optional< std::chrono::milliseconds > & max_await_time() const
The maximum amount of time for the server to wait on new documents to satisfy a tailable cursor query...
const stdx::optional< bsoncxx::v_noabi::types::bson_value::view_or_value > & comment_option() const
Gets the current value of the comment option.
const stdx::optional< bool > & allow_disk_use() const
Gets the current setting for allowing disk use on the server.
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & max() const
Sets the current exclusive upper bound for a specific index.
const stdx::optional< std::int64_t > & limit() const
Gets the current limit.
const stdx::optional< cursor::type > & cursor_type() const
Gets the current cursor type.
const stdx::optional< bool > & no_cursor_timeout() const
Gets the current no_cursor_timeout setting.
const stdx::optional< std::int64_t > & skip() const
Gets the current number of documents to skip.
const stdx::optional< bool > & return_key() const
Gets the current setting for returning the index keys associated with the query results,...
const stdx::optional< bsoncxx::v_noabi::string::view_or_value > & comment() const
Gets the current comment attached to this query.
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.
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & sort() const
Gets the current sort ordering for this query.
Class representing a preference for how the driver routes read operations to members of a replica set...
Definition read_preference.hpp:65
Provides mongocxx::v_noabi::cursor.
Provides bsoncxx::v_noabi::document::view_or_value.
Declares mongocxx::v_noabi::options::find.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition fwd.hpp:222
Provides mongocxx::v_noabi::hint.
The mongocxx 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.
The top-level namespace reserved for the C++ standard library.
Provides std::optional-related polyfills for library API usage.
Provides mongocxx::v_noabi::read_preference.
Provides bsoncxx::v_noabi::string::view_or_value.
Provides bsoncxx::v_noabi::types::bson_value::view_or_value.