bson_iter_find_w_len(3)

bson_iter_find_w_len3

Usage

bool
bson_iter_find_w_len (bson_iter_t *iter, const char *key, int keylen);

Parameters

•

iter: A bson_iter_t.

•

key: A string containing the requested key.

•

keylen: An integer indicating the length of the key string.

Overview

The bson_iter_find_w_len() 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.

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

Author

MongoDB, Inc

From libbson-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.