1MONGOC_WRITE_CONCERN_SET_JOURNAL(3)libmongocMONGOC_WRITE_CONCERN_SET_JOURNAL(3)
2
3
4

NAME

6       mongoc_write_concern_set_journal - mongoc_write_concern_set_journal()
7

SYNOPSIS

9          void
10          mongoc_write_concern_set_journal (mongoc_write_concern_t *write_concern,
11                                            bool journal);
12

PARAMETERS

14write_concern: A mongoc_write_concern_t.
15
16journal: A boolean.
17

DESCRIPTION

19       Sets if the write must have been journaled before indicating success.
20
21       Beginning  in version 1.9.0, this function can now alter the write con‐
22       cern after it has been used in  an  operation.  Previously,  using  the
23       struct  with  an  operation  would mark it as "frozen" and calling this
24       function would log a warning instead instead of altering the write con‐
25       cern.
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.20.0                           Nov 18, 202M1ONGOC_WRITE_CONCERN_SET_JOURNAL(3)
Impressum