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

mongoc_uri_set_write_concern - mongoc_uri_set_write_concern()

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

2017-present, MongoDB, Inc

June 4, 2021 1.17.6