bson_iter_key - Man Page
Synopsis
const char * bson_iter_key (const bson_iter_t *iter);
Parameters
- iter: A bson_iter_t <>ā.
Description
Fetches the key for the current element observed by iterā.
Returns
A string which should not be modified or freed.
See also:
bson_iter_key_len() <> to retrieve the length of the key in constant time.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
Info
Oct 09, 2026 2.5.6 libbson