1BSON_ITER_OID(3) libbson BSON_ITER_OID(3)
2
3
4
6 #define BSON_ITER_HOLDS_OID(iter) (bson_iter_type ((iter)) == BSON_TYPE_OID)
7
8 const bson_oid_t *
9 bson_iter_oid (const bson_iter_t *iter);
10
12 • iter: A bson_iter_t.
13
15 Fetches the bson_oid_t for a BSON_TYPE_OID element. You should verify
16 it is an element of type BSON_TYPE_OID before calling this function.
17
19 A bson_oid_t that should not be modified or freed.
20
22 MongoDB, Inc
23
25 2017-present, MongoDB, Inc
26
27
28
29
301.25.1 Nov 08, 2023 BSON_ITER_OID(3)