1BSON_ITER_OVERWRITE_OID(3) libbson BSON_ITER_OVERWRITE_OID(3)
2
3
4
6 void
7 bson_iter_overwrite_oid (bson_iter_t *iter, const bson_oid_t *value);
8
10 • iter: A bson_iter_t.
11
12 • oid: A bson_oid_t.
13
15 The bson_iter_overwrite_oid() function shall overwrite the contents of
16 a BSON_TYPE_OID element in place.
17
18 This may only be done when the underlying bson document allows muta‐
19 tion.
20
21 It is a programming error to call this function when iter is not ob‐
22 serving an element of type BSON_TYPE_OID.
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.25.1 Nov 08, 2023 BSON_ITER_OVERWRITE_OID(3)