1MONGOC_WRITE_CONCERN_IS_DEFAULT(3) libmongocMONGOC_WRITE_CONCERN_IS_DEFAULT(3)
2
3
4
6 bool
7 mongoc_write_concern_is_default (mongoc_write_concern_t *write_concern);
8
10 • write_concern: A pointer to a mongoc_write_concern_t.
11
13 Returns true if write_concern has not been modified from the default.
14 For example, if no "w" option is set in the MongoDB URI and you have
15 not called mongoc_client_set_write_concern(), then
16 mongoc_write_concern_is_default() is true for the write concern re‐
17 turned by mongoc_client_get_write_concern().
18
20 MongoDB, Inc
21
23 2017-present, MongoDB, Inc
24
25
26
27
281.25.1 Nov 08, 2023MONGOC_WRITE_CONCERN_IS_DEFAULT(3)