bson_has_field man page

bson_has_field ā€” bson_has_field()

Synopsis

bool
bson_has_field (const bson_t *bson, const char *key);

Parameters

Description

Checks to see if key contains an element named key. This also accepts "dotkey" notation such as "a.b.c.d".

Returns

true if key was found within bson; otherwise false.

Author

MongoDB, Inc

Info

May 03, 2018 1.9.5 Libbson