BSON_ITER_KEY_LEN(3) | Libbson | BSON_ITER_KEY_LEN(3) |
bson_iter_key_len - bson_iter_key_len()
uint32_t bson_iter_key_len (const bson_iter_t *iter);
Fetches the length of the key for the current element observed by iter. This is a constant time computation, and therefore faster than calling strlen() on a key returned by bson_iter_key().
bson_iter_key() to retrieve current key.
An integer representing the key length.
MongoDB, Inc
2017-present, MongoDB, Inc
February 23, 2019 | 1.14.0 |