FreeBSD Manual Pages
MONGOC_WRITE_CONCERN_SET_W(3) libmongoc MONGOC_WRITE_CONCERN_SET_W(3) SYNOPSIS void mongoc_write_concern_set_w (mongoc_write_concern_t *write_concern, int32_t w); PARAMETERS • write_concern: A mongoc_write_concern_t. • w: A positive int32_t or zero. DESCRIPTION Sets the w value for the write concern. See mongoc_write_concern_t for more information on this setting. Unacknowledged writes are not causally consistent. If you execute a write operation with a mongoc_write_concern_t on which you have called mongoc_write_concern_set_w() with a value of 0, the write does not par- ticipate in causal consistency, even when executed with a mongoc_client_session_t. Beginning in version 1.9.0, this function can now alter the write con- cern after it has been used in an operation. Previously, using the struct with an operation would mark it as "frozen" and calling this function would log a warning instead instead of altering the write con- cern. AUTHOR MongoDB, Inc COPYRIGHT 2009-present, MongoDB, Inc. 1.30.2 Apr 12, 2025 MONGOC_WRITE_CONCERN_SET_W(3)
SYNOPSIS | PARAMETERS | DESCRIPTION | AUTHOR | COPYRIGHT
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_write_concern_set_w&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>
