BSON_OID_EQUAL(3) libbson BSON_OID_EQUAL(3)

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

March 31, 2024 1.26.0