Scroll to navigation

BSON_ITER_INIT_FIND(3) libbson 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.

December 11, 2025 2.2.1