| BSON_OID_COMPARE(3) | libbson | BSON_OID_COMPARE(3) |
int bson_oid_compare (const bson_oid_t *oid1, const bson_oid_t *oid2);
The bson_oid_compare() function shall return a qsort() style value of a lexicographical sort of oid1 and oid2.
less than 0, 0, or greater than 0 based on the comparison.
MongoDB, Inc
2009-present, MongoDB, Inc.
| May 7, 2025 | 1.30.4 |