1BSON_ITER_DECIMAL128(3) libbson BSON_ITER_DECIMAL128(3)
2
3
4
6 bson_iter_decimal128 - bson_iter_decimal128()
7
9 #define BSON_ITER_HOLDS_DECIMAL128(iter) \
10 (bson_iter_type ((iter)) == BSON_TYPE_DECIMAL128)
11
12 bool
13 bson_iter_decimal128 (const bson_iter_t *iter, /* IN */
14 bson_decimal128_t *dec); /* OUT */
15
17 • iter: A bson_iter_t.
18
19 • dec: A location for a bson_decimal128_t.
20
22 Fetches the value from a BSON_TYPE_DECIMAL128 field. You should verify
23 that this is a BSON_TYPE_DECIMAL128 field before calling this function.
24
26 true if type was BSON_TYPE_DECIMAL128, otherwise false.
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.24.3 Aug 17, 2023 BSON_ITER_DECIMAL128(3)