bson_oid_compare(3)

bson_oid_compare3

Usage

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.

Overview

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.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

MongoDB, Inc

From libbson-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.