bson_iter_find - Man Page

Synopsis

bool
bson_iter_find (bson_iter_t *iter, const char *key);

Parameters

Description

The bson_iter_find() function shall advance iter to the first 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

Apr 03, 2024 1.26.2 libbson