1BSON_ITER_FIND(3) libbson BSON_ITER_FIND(3)
2
3
4
6 bool
7 bson_iter_find (bson_iter_t *iter, const char *key);
8
10 • iter: A bson_iter_t.
11
12 • key: A string containing the requested key.
13
15 The bson_iter_find() function shall advance iter to the first element
16 named key or exhaust all elements of iter. If iter is exhausted, false
17 is returned and iter should be considered invalid.
18
19 key is case-sensitive. For a case-folded version, see
20 bson_iter_find_case().
21
23 true is returned if the requested key was found. If not, iter was ex‐
24 hausted and should now be considered invalid.
25
27 MongoDB, Inc
28
30 2017-present, MongoDB, Inc
31
32
33
34
351.25.1 Nov 08, 2023 BSON_ITER_FIND(3)