1MONGOC_WRITE_CONCERN_GET_W(3)      libmongoc     MONGOC_WRITE_CONCERN_GET_W(3)
2
3
4

NAME

6       mongoc_write_concern_get_w - mongoc_write_concern_get_w()
7

SYNOPSIS

9          int32_t
10          mongoc_write_concern_get_w (const mongoc_write_concern_t *write_concern);
11

PARAMETERS

13write_concern: A mongoc_write_concern_t.
14

DESCRIPTION

16       Fetches the w parameter of the write concern.
17

RETURNS

19       Returns  an  integer  containing the w value. If wmajority is set, this
20       would be MONGOC_WRITE_CONCERN_W_MAJORITY.
21

AUTHOR

23       MongoDB, Inc
24
26       2017-present, MongoDB, Inc
27
28
29
30
311.20.0                           Nov 18, 2021    MONGOC_WRITE_CONCERN_GET_W(3)
Impressum