1MONGOC_WRITE_CONCERN_IS_DEFAULT(3) libmongocMONGOC_WRITE_CONCERN_IS_DEFAULT(3)
2
3
4

NAME

6       mongoc_write_concern_is_default - mongoc_write_concern_is_default()
7

SYNOPSIS

9          bool
10          mongoc_write_concern_is_default (mongoc_write_concern_t *write_concern);
11

PARAMETERS

13write_concern: A pointer to a mongoc_write_concern_t.
14

DESCRIPTION

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
19       mongoc_write_concern_is_default() is true for  the  write  concern  re‐
20       turned by mongoc_client_get_write_concern().
21

AUTHOR

23       MongoDB, Inc
24
26       2017-present, MongoDB, Inc
27
28
29
30
311.23.1                           Oct 20, 2022MONGOC_WRITE_CONCERN_IS_DEFAULT(3)
Impressum