1MONGOC_COLLECTION_SET_WRITE_CONCERN(l3i)bmonMgOoNcGOC_COLLECTION_SET_WRITE_CONCERN(3)
2
3
4

NAME

6       mongoc_collection_set_write_concern  - mongoc_collection_set_write_con‐
7       cern()
8

SYNOPSIS

10          void
11          mongoc_collection_set_write_concern (
12             mongoc_collection_t *collection,
13             const mongoc_write_concern_t *write_concern);
14

PARAMETERS

16collection: A mongoc_collection_t.
17
18write_concern: A mongoc_write_concern_t.
19

DESCRIPTION

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

AUTHOR

29       MongoDB, Inc
30
32       2017-present, MongoDB, Inc
33
34
35
36
371.24.3                           Aug 17,M2O0N2G3OC_COLLECTION_SET_WRITE_CONCERN(3)
Impressum