DOKK / manpages / debian 11 / libbson-doc / bson_iter_find_case.3.en
BSON_ITER_FIND_CASE(3) libbson BSON_ITER_FIND_CASE(3)

bson_iter_find_case - bson_iter_find_case()

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


  • iter: A bson_iter_t.
  • key: An ASCII string containing the field to locate.

Advances iter until it is observing an element matching the name of key or exhausting all elements.

key is not case-sensitive. The keys will be case-folded to determine a match using the current locale.

true if key was found.

MongoDB, Inc

2017-present, MongoDB, Inc

June 4, 2021 1.17.6