1BSON_ITER_KEY(3) libbson BSON_ITER_KEY(3)
23
4
NAME
6bson_iter_key - bson_iter_key()
7
SYNOPSIS
9const char *
10bson_iter_key (const bson_iter_t *iter);
11
PARAMETERS
13• iter: A bson_iter_t.
14
DESCRIPTION
16Fetches the key for the current element observed by iter.
17
RETURNS
19A string which should not be modified or freed.
2021
SEE ALSO:
22bson_iter_key_len() to retrieve the length of the key in constant time.
2324
AUTHOR
26MongoDB, Inc
27
COPYRIGHT
292017-present, MongoDB, Inc
3031
32
33
34
1.24.3 Aug 17, 2023 BSON_ITER_KEY(3)