1BSON_ITER_OVERWRITE_TIMESTAMP(3) libbson BSON_ITER_OVERWRITE_TIMESTAMP(3)
2
3
4
6 void
7 bson_iter_overwrite_timestamp (bson_iter_t *iter,
8 uint32_t timestamp,
9 uint32_t increment);
10
12 • iter: A bson_iter_t.
13
14 • timestamp: A uint32_t.
15
16 • increment: A uint32_t.
17
19 The bson_iter_overwrite_timestamp() function shall overwrite the con‐
20 tents of a BSON_TYPE_TIMESTAMP element in place.
21
22 This may only be done when the underlying bson document allows muta‐
23 tion.
24
25 It is a programming error to call this function when iter is not ob‐
26 serving an element of type BSON_TYPE_TIMESTAMP.
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.25.1 Nov 08, 2023 BSON_ITER_OVERWRITE_TIMESTAMP(3)