65 const options::
pool& options = options::
pool());
76 pool& operator=(const
pool&) = delete;
89 client* operator->() && = delete;
93 client& operator*() && = delete;
104 bsoncxx::v_noabi::
string::view_or_value name) const& {
105 return (**
this)[name];
112 friend ::mongocxx::v_noabi::pool;
114 using unique_client =
117 explicit entry(unique_client);
119 unique_client _client;
135 friend ::mongocxx::v_noabi::options::auto_encryption;
140 const std::unique_ptr<impl> _impl;
Declares mongocxx::v_noabi::options::auto_encryption.
A polyfill for std::optional<T>.
Definition optional.hpp:826
Class representing a view-or-value variant type for strings.
Definition view_or_value.hpp:41
Class representing a client connection to MongoDB.
Definition client.hpp:61
Class representing a MongoDB database.
Definition database.hpp:46
An entry is a handle on a client object acquired via the pool. Similar to std::unique_ptr.
Definition pool.hpp:85
client * operator->() const &noexcept
Access a member of the client instance.
A pool of client objects associated with a MongoDB deployment.
Definition pool.hpp:51
entry acquire()
Acquires a client from the pool. The calling thread will block until a connection is available.
Class representing a MongoDB connection string URI.
Definition uri.hpp:43
Provides mongocxx::v_noabi::client.
Provides mongocxx::v_noabi::database.
#define MONGOCXX_ABI_CDECL
Expands to __cdecl when built with MSVC on Windows.
Definition fwd.hpp:196
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition fwd.hpp:204
The mongocxx macro guard postlude header.
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::options::pool.
Declares mongocxx::v_noabi::pool.
Provides mongocxx::v_noabi::uri.