1BSON_ITER_FIND(3) Libbson BSON_ITER_FIND(3)
2
3
4
6 bson_iter_find - bson_iter_find()
7
9 bool
10 bson_iter_find (bson_iter_t *iter, const char *key);
11
13 · iter: A bson_iter_t.
14
15 · key: A string containing the requested key.
16
18 The bson_iter_find() function shall advance iter to the element named
19 key or exhaust all elements of iter. If iter is exhausted, false is
20 returned and iter should be considered invalid.
21
22 key is case-sensitive. For a case-folded version, see
23 bson_iter_find_case().
24
26 true is returned if the requested key was found. If not, iter was
27 exhausted and should now be considered invalid.
28
30 MongoDB, Inc
31
33 2017-present, MongoDB, Inc
34
35
36
37
381.13.1 Jan 24, 2019 BSON_ITER_FIND(3)