1MONGOC_COLLECTION_SET_WRITE_CONCERN(l3i)bmonMgOoNcGOC_COLLECTION_SET_WRITE_CONCERN(3)
2
3
4
6 void
7 mongoc_collection_set_write_concern (
8 mongoc_collection_t *collection,
9 const mongoc_write_concern_t *write_concern);
10
12 • collection: A mongoc_collection_t.
13
14 • write_concern: A mongoc_write_concern_t.
15
17 Sets the write concern to use for operations on collection.
18
19 The default write concern is MONGOC_WRITE_CONCERN_W_DEFAULT: the driver
20 blocks awaiting basic acknowledgement of write operations from MongoDB.
21 This is the correct write concern for the great majority of applica‐
22 tions.
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.25.1 Nov 08,M2O0N2G3OC_COLLECTION_SET_WRITE_CONCERN(3)