BSON_HAS_FIELD(3) | Libbson | BSON_HAS_FIELD(3) |
bson_has_field - bson_has_field()
bool bson_has_field (const bson_t *bson, const char *key);
Checks to see if key contains an element named key. This also accepts "dotkey" notation such as "a.b.c.d".
true if key was found within bson; otherwise false.
MongoDB, Inc
2017-present, MongoDB, Inc
February 23, 2019 | 1.14.0 |