1MONGOC_COLLECTION_SET_WRITE_CONCERN(l3i)bmonMgOoNcGOC_COLLECTION_SET_WRITE_CONCERN(3)
2
3
4
6 mongoc_collection_set_write_concern - mongoc_collection_set_write_con‐
7 cern()
8
10 void
11 mongoc_collection_set_write_concern (
12 mongoc_collection_t *collection,
13 const mongoc_write_concern_t *write_concern);
14
16 • collection: A mongoc_collection_t.
17
18 • write_concern: A mongoc_write_concern_t.
19
21 Sets the write concern to use for operations on collection.
22
23 The default write concern is MONGOC_WRITE_CONCERN_W_DEFAULT: the driver
24 blocks awaiting basic acknowledgement of write operations from MongoDB.
25 This is the correct write concern for the great majority of applica‐
26 tions.
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.20.0 Nov 18,M2O0N2G1OC_COLLECTION_SET_WRITE_CONCERN(3)