1BSON_ITER_OVERWRITE_TIMESTAMP(3) Libbson BSON_ITER_OVERWRITE_TIMESTAMP(3)
2
3
4
6 bson_iter_overwrite_timestamp - bson_iter_overwrite_timestamp()
7
9 void
10 bson_iter_overwrite_timestamp (bson_iter_t *iter,
11 uint32_t timestamp,
12 uint32_t increment);
13
15 · iter: A bson_iter_t.
16
17 · timestamp: A uint32_t.
18
19 · increment: A uint32_t.
20
22 The bson_iter_overwrite_timestamp() function shall overwrite the con‐
23 tents of a BSON_TYPE_TIMESTAMP element in place.
24
25 This may only be done when the underlying bson document allows muta‐
26 tion.
27
28 It is a programming error to call this function when iter is not
29 observing an element of type BSON_TYPE_TIMESTAMP.
30
32 MongoDB, Inc
33
35 2017-present, MongoDB, Inc
36
37
38
39
401.14.0 Feb 22, 2019 BSON_ITER_OVERWRITE_TIMESTAMP(3)