DOKK / manpages / debian 13 / libmongoc-doc / mongoc_uri_set_write_concern.3.en
MONGOC_URI_SET_WRITE_CONCERN(3) libmongoc MONGOC_URI_SET_WRITE_CONCERN(3)

void
mongoc_uri_set_write_concern (mongoc_uri_t *uri,

const mongoc_write_concern_t *wc);


  • uri: A mongoc_uri_t.
  • rc: A mongoc_write_concern_t.

Sets a MongoDB URI's write concern option, after the URI has been parsed from a string.

MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4