home | help
BSON_ITER_KEY(3)		     libbson			BSON_ITER_KEY(3)

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.

1.30.8				  Aug 27, 2026			BSON_ITER_KEY(3)

home | help