278 friend ::
mongocxx::v_noabi::options::transaction;
285 std::unique_ptr<impl> _impl;
291#include <mongocxx/config/postlude.hpp>
Declares mongocxx::v_noabi::bulk_write.
Class representing a batch of write operations that can be sent to the server as a group.
Definition bulk_write.hpp:45
Class representing a client connection to MongoDB.
Definition client.hpp:62
Class representing server side document groupings within a MongoDB database.
Definition collection.hpp:87
Class representing a MongoDB database.
Definition database.hpp:47
Class representing a MongoDB connection string URI.
Definition uri.hpp:43
Class representing the server-side requirement for reporting the success of a write operation....
Definition write_concern.hpp:61
level acknowledge_level() const
Gets the current acknowledgment level.
bool is_acknowledged() const
Gets whether this write_concern requires an acknowledged write.
stdx::optional< std::string > tag() const
Gets the current getLastErrorMode that is required by this write_concern.
std::chrono::milliseconds timeout() const
Gets the current timeout for this write_concern.
bool journal() const
Gets the current status of the journal parameter.
level
A class to represent the write concern level for write operations.
Definition write_concern.hpp:70
@ k_unacknowledged
Represent write concern with w: 0.
@ k_tag
Represent write concern with w: <custom write concern name>.
@ k_acknowledged
Represent write concern with w: 1.
@ k_majority
Represent write concern with w: "majority".
@ k_default
Represent the implicit default write concern.
stdx::optional< std::int32_t > nodes() const
Gets the current number of nodes that this write_concern requires operations to reach....
bsoncxx::v_noabi::document::value to_document() const
Gets the document form of this write_concern.
bool majority() const
Gets whether the majority of nodes is currently required by this write_concern.
Declares mongocxx::v_noabi::client.
Declares mongocxx::v_noabi::collection.
Declares mongocxx::v_noabi::database.
Provides bsoncxx::v_noabi::document::value.
#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 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.
Redeclares bsoncxx::v_noabi::stdx in mongocxx::v_noabi::stdx for internal use.
Provides std::string_view-related polyfills for library API usage.
Declares mongocxx::v_noabi::options::transaction.
Provides mongocxx::v_noabi::options::transaction.
Declares mongocxx::v_noabi::uri.
Declares mongocxx::v_noabi::write_concern.