bson_iter_key man page

bson_iter_key — 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.

Author

MongoDB, Inc

Info

Feb 09, 2017 1.6.0 Libbson