144#include <mongocxx/v1/detail/postlude.hpp>
distinct_options & collation(bsoncxx::v1::document::value collation)
Set the "collation" field.
distinct_options & max_time(std::chrono::milliseconds max_time)
Set the "maxTimeMS" field.
~distinct_options()
Destroy this object.
distinct_options(distinct_options &&other) noexcept
Move constructor.
distinct_options & comment(bsoncxx::v1::types::value comment)
Set the "comment" field.
distinct_options & read_preference(v1::read_preference rp)
Set the "readPreference" field.
Declares mongocxx::v1::distinct_options.
Provides macros to control the set of symbols exported in the ABI.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v1 macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities whose ABI stability is guaranteed for documented symbols.
The top-level namespace within which all mongocxx library entities are declared.
Declares bsoncxx::v1::document::value.
Declares bsoncxx::v1::document::view.
Declares mongocxx::v1::read_preference.
Provides std::optional-related polyfills for library API usage.
Declares bsoncxx::v1::types::value.
Declares non-owning, read-only entities representing a BSON type value.