Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

bson_has_field - Man Page

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

Jul 03, 2024 1.27.4 libbson