bson_iter_key man page

bson_iter_key ā€” bson_iter_key()

Synopsis

const char *
bson_iter_key (const bson_iter_t *iter);

Parameters

Description

Fetches the key for the current element observed by iter.

See Also

bson_iter_key_len() to retrieve the length of the key in constant time.

Returns

A string which should not be modified or freed.

Author

MongoDB, Inc

Info

Sep 17, 2018 1.13.0 Libbson