1MONGOC_WRITE_CONCERN_IS_DEFAULT(M3o)ngoDB C DrivMeOrNGOC_WRITE_CONCERN_IS_DEFAULT(3)
2
3
4
6 mongoc_write_concern_is_default - mongoc_write_concern_is_default()
7
9 bool
10 mongoc_write_concern_is_default (mongoc_write_concern_t *write_concern);
11
13 · write_concern: A pointer to a mongoc_write_concern_t.
14
16 Returns true if write_concern has not been modified from the default.
17 For example, if no "w" option is set in the MongoDB URI and you have
18 not called mongoc_client_set_write_concern(), then mongoc_write_con‐
19 cern_is_default() is true for the write concern returned by mon‐
20 goc_client_get_write_concern().
21
23 MongoDB, Inc
24
26 2017-present, MongoDB, Inc
27
28
29
30
311.13.1 Jan 24, 2019MONGOC_WRITE_CONCERN_IS_DEFAULT(3)