---
name: "bson_iter_init_find"
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_init_find"
---

# bson\_iter\_init\_find(3)

## SYNOPSIS

```
bool
bson_iter_init_find (bson_iter_t *iter, const bson_t *bson, const char *key);
```

## PARAMETERS

- •

  **iter**: A *bson\_iter\_t*.

- •

  **bson**: A *bson\_t*.

- •

  **key**: A key to locate after initializing the iter.

## DESCRIPTION

This function is identical to **(bson\_iter\_init() && bson\_iter\_find())**.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
