DOKK / manpages / debian 11 / libbson-doc / bson_oid_equal.3.en
BSON_OID_EQUAL(3) libbson BSON_OID_EQUAL(3)

bson_oid_equal - bson_oid_equal()

bool
bson_oid_equal (const bson_oid_t *oid1, const bson_oid_t *oid2);


  • oid1: A bson_oid_t.
  • oid2: A bson_oid_t.

Checks if two bson_oid_t contain the same bytes.

true if they are equal, otherwise false.

MongoDB, Inc

2017-present, MongoDB, Inc

June 4, 2021 1.17.6