mongoc_write_concern_t
Write Concern abstraction
- Provided by: libmongoc-doc (Version: 1.3.1-1)
- Source: libmongoc
- Report a bug
Write Concern abstraction
mongoc_write_concern_t tells the driver what level of acknowledgment to await from the server. The default, MONGOC_WRITE_CONCERN_W_DEFAULT, is right for the great majority of applications.
You can specify a write concern on connection objects, database objects, collection objects, or per‐operation.
See Write Concern on the MongoDB website for more information.
The write concern MONGOC_WRITE_CONCERN_W_ERRORS_IGNORED (value ‐1) is a deprecated synonym for MONGOC_WRITE_CONCERN_W_UNACKNOWLEDGED (value 0), and will be removed in the next major release.
This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.