---
name: "bson_iter_find_case"
section: "3"
platform: "linux"
package: "libbson-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/bson_iter_find_case"
---

# bson\_iter\_find\_case(3)

## 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** to the first 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.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
