1MONGOC_WRITE_CONCERN_SET_JOURNAL(3)libmongocMONGOC_WRITE_CONCERN_SET_JOURNAL(3)
2
3
4
6 void
7 mongoc_write_concern_set_journal (mongoc_write_concern_t *write_concern,
8 bool journal);
9
11 • write_concern: A mongoc_write_concern_t.
12
13 • journal: A boolean.
14
16 Sets if the write must have been journaled before indicating success.
17
18 Beginning in version 1.9.0, this function can now alter the write con‐
19 cern after it has been used in an operation. Previously, using the
20 struct with an operation would mark it as "frozen" and calling this
21 function would log a warning instead instead of altering the write con‐
22 cern.
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.25.1 Nov 08, 202M3ONGOC_WRITE_CONCERN_SET_JOURNAL(3)