bson_iter_find_case() — libbson 1.9.2

- libbson 1.9.2 »
- API Reference »
- bson_iter_t

# bson_iter_find_case()

## Synopsis

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

## Parameters

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

## Description

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.

## Returns

true if `key` was found.

Created using Sphinx 1.6.5, based on Sphinx Readable Theme.