bson_iter_find_w_len man page

bson_iter_find_w_len ā€” bson_iter_find_w_len()

Synopsis

bool
bson_iter_find_w_len (bson_iter_t *iter, const char *key, int keylen);

Parameters

Description

The bson_iter_find_w_len() function shall advance iter to the element named key or exhaust all elements of iter. If iter is exhausted, false is returned and iter should be considered invalid.

key is case-sensitive. For a case-folded version, see bson_iter_find_case().

Returns

true is returned if the requested key was found. If not, iter was exhausted and should now be considered invalid.

Author

MongoDB, Inc

Info

Nov 06, 2019 1.15.2 Libbson