bson_iter_key - Man Page
bson_iter_key()
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
2017-present, MongoDB, Inc
Info
May 09, 2023 1.23.4 libbson