table of contents
other versions
- bookworm 1.23.1-1
- testing 1.26.0-1
- unstable 1.26.1-1
- experimental 1.26.0-1.1~exp1
BSON_OID_COMPARE(3) | libbson | BSON_OID_COMPARE(3) |
SYNOPSIS¶
int bson_oid_compare (const bson_oid_t *oid1, const bson_oid_t *oid2);
PARAMETERS¶
- oid1: A bson_oid_t.
- oid2: A bson_oid_t.
DESCRIPTION¶
The bson_oid_compare() function shall return a qsort() style value of a lexicographical sort of oid1 and oid2.
RETURNS¶
less than 0, 0, or greater than 0 based on the comparison.
AUTHOR¶
MongoDB, Inc
COPYRIGHT¶
2017-present, MongoDB, Inc
February 25, 2024 | 1.26.0 |