SYNOPSIS

#include <bson.h>

const char *
bson_iter_key (const bson_iter_t *iter);

DESCRIPTION

The bson_iter_key() function shall return the key of the currently observed bson document.

RETURN VALUE

The result is a C string, meaning it is NULL terminated.

The result should not be modified or freed.

SEE ALSO

AUTHORS

This page was written by MongoDB, Inc.