1MONGOC_WRITE_CONCERN_SET_WTAG(3)   libmongoc  MONGOC_WRITE_CONCERN_SET_WTAG(3)
2
3
4

NAME

6       mongoc_write_concern_set_wtag - mongoc_write_concern_set_wtag()
7

SYNOPSIS

9          void
10          mongoc_write_concern_set_wtag (mongoc_write_concern_t *write_concern,
11                                         const char *tag);
12

PARAMETERS

14       · write_concern: A mongoc_write_concern_t.
15
16       · tag: A string containing the write tag.
17

DESCRIPTION

19       Sets  the  write  tag  that must be satisfied for the write to indicate
20       success. Write tags are preset write concerns configured on  your  Mon‐
21       goDB  server.  See  mongoc_write_concern_t for more information on this
22       setting.
23
24       Beginning in version 1.9.0, this function can now alter the write  con‐
25       cern  after  it  has  been  used in an operation. Previously, using the
26       struct with an operation would mark it as  "frozen"  and  calling  this
27       function would log a warning instead instead of altering the write con‐
28       cern.
29

AUTHOR

31       MongoDB, Inc
32
34       2017-present, MongoDB, Inc
35
36
37
38
391.16.2                           Feb 25, 2020 MONGOC_WRITE_CONCERN_SET_WTAG(3)
Impressum