1BSON_OID_COMPARE(3) libbson BSON_OID_COMPARE(3)
23
4
SYNOPSIS
6int
7bson_oid_compare (const bson_oid_t *oid1, const bson_oid_t *oid2);
8
PARAMETERS
10• oid1: A bson_oid_t.
1112
• oid2: A bson_oid_t.
13
DESCRIPTION
15The bson_oid_compare() function shall return a qsort() style value of a
16lexicographical sort of oid1 and oid2.
17
RETURNS
19less than 0, 0, or greater than 0 based on the comparison.
20
AUTHOR
22MongoDB, Inc
23
COPYRIGHT
252017-present, MongoDB, Inc
2627
28
29
30
1.25.1 Nov 08, 2023 BSON_OID_COMPARE(3)