1BSON_ITER_KEY(3) libbson BSON_ITER_KEY(3)
23
4
SYNOPSIS
6const char *
7bson_iter_key (const bson_iter_t *iter);
8
PARAMETERS
10• iter: A bson_iter_t.
11
DESCRIPTION
13Fetches the key for the current element observed by iter.
14
RETURNS
16A string which should not be modified or freed.
1718
SEE ALSO:
19bson_iter_key_len() to retrieve the length of the key in constant time.
2021
AUTHOR
23MongoDB, Inc
24
COPYRIGHT
262017-present, MongoDB, Inc
2728
29
30
31
1.25.1 Nov 08, 2023 BSON_ITER_KEY(3)