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 mongoc_write_con‐
19       cern_is_default() is true  for  the  write  concern  returned  by  mon‐
20       goc_client_get_write_concern().
21

AUTHOR

23       MongoDB, Inc
24
26       2017-present, MongoDB, Inc
27
28
29
30
311.21.1                           Mar 02, 2022MONGOC_WRITE_CONCERN_IS_DEFAULT(3)
Impressum