| MONGOC_WRITE_CONCERN_GET_WMAJORITY(3) | libmongoc | MONGOC_WRITE_CONCERN_GET_WMAJORITY(3) |
bool mongoc_write_concern_get_wmajority (
const mongoc_write_concern_t *write_concern);
Fetches if the write should be written to a majority of nodes before indicating success.
Returns true if wmajority is set.
MongoDB, Inc
2009-present, MongoDB, Inc.
| May 7, 2025 | 1.30.4 |