SysTutorials

Linux Manual Pages › Section 3

bson_iter_key(3)

NAME

bson_iter_key() – Fetches the key for the current element observed by iter.

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.

COLOPHON

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Index