1BSON_ITER_TYPE(3) libbson BSON_ITER_TYPE(3)
2
3
4
6 bson_iter_type - bson_iter_type()
7
9 typedef enum {
10 BSON_TYPE_EOD = 0x00,
11 BSON_TYPE_DOUBLE = 0x01,
12 BSON_TYPE_UTF8 = 0x02,
13 BSON_TYPE_DOCUMENT = 0x03,
14 BSON_TYPE_ARRAY = 0x04,
15 BSON_TYPE_BINARY = 0x05,
16 BSON_TYPE_UNDEFINED = 0x06,
17 BSON_TYPE_OID = 0x07,
18 BSON_TYPE_BOOL = 0x08,
19 BSON_TYPE_DATE_TIME = 0x09,
20 BSON_TYPE_NULL = 0x0A,
21 BSON_TYPE_REGEX = 0x0B,
22 BSON_TYPE_DBPOINTER = 0x0C,
23 BSON_TYPE_CODE = 0x0D,
24 BSON_TYPE_SYMBOL = 0x0E,
25 BSON_TYPE_CODEWSCOPE = 0x0F,
26 BSON_TYPE_INT32 = 0x10,
27 BSON_TYPE_TIMESTAMP = 0x11,
28 BSON_TYPE_INT64 = 0x12,
29 BSON_TYPE_MAXKEY = 0x7F,
30 BSON_TYPE_MINKEY = 0xFF,
31 } bson_type_t;
32
33 bson_type_t
34 bson_iter_type (const bson_iter_t *iter);
35
37 ยท iter: A bson_iter_t.
38
40 The bson_iter_type() function shall return the type of the observed
41 element in a bson document.
42
44 A bson_type_t.
45
47 MongoDB, Inc
48
50 2017-present, MongoDB, Inc
51
52
53
54
551.17.4 Feb 04, 2021 BSON_ITER_TYPE(3)