1BSON_ITER_OID(3)                    libbson                   BSON_ITER_OID(3)
2
3
4

NAME

6       bson_iter_oid - bson_iter_oid()
7

SYNOPSIS

9          #define BSON_ITER_HOLDS_OID(iter) (bson_iter_type ((iter)) == BSON_TYPE_OID)
10
11          const bson_oid_t *
12          bson_iter_oid (const bson_iter_t *iter);
13

PARAMETERS

15iter: A bson_iter_t.
16

DESCRIPTION

18       Fetches  the  bson_oid_t for a BSON_TYPE_OID element. You should verify
19       it is an element of type BSON_TYPE_OID before calling this function.
20

RETURNS

22       A bson_oid_t that should not be modified or freed.
23

AUTHOR

25       MongoDB, Inc
26
28       2017-present, MongoDB, Inc
29
30
31
32
331.20.0                           Nov 18, 2021                 BSON_ITER_OID(3)
Impressum