141 stdx::optional<
bool> _strict;
142 stdx::optional<
bool> _deprecation_errors;
149#include <mongocxx/config/postlude.hpp>
Class representing the optional arguments to a MongoDB driver client object.
Definition client.hpp:39
Class representing the optional arguments to a MongoDB driver pool object. Pool options logically ext...
Definition pool.hpp:31
Class representing options for server API.
Definition server_api.hpp:40
static std::string version_to_string(version version)
Converts a version enum value to its string value.
version
Enum representing the possible values for server API version.
Definition server_api.hpp:45
@ k_version_1
Stable API Version 1.
static version version_from_string(stdx::string_view version)
Converts a version string to its enum value.
version get_version() const
Gets the declared server api version.
const stdx::optional< bool > & deprecation_errors() const
Gets the current value of the deprecation errors option.
const stdx::optional< bool > & strict() const
Gets the current value of the strict option.
Declares mongocxx::v_noabi::client.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition fwd.hpp:222
The mongocxx macro guard prelude header.
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.
Declares mongocxx::v_noabi::pool.
Declares mongocxx::v_noabi::options::server_api.
Redeclares bsoncxx::v_noabi::stdx in mongocxx::v_noabi::stdx for internal use.
Provides std::string_view-related polyfills for library API usage.