DOKK / manpages / debian 12 / 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

October 20, 2022 1.23.1