SYNOPSIS

#include <bson.h>

int
bson_oid_compare (const bson_oid_t *oid1,
                  const bson_oid_t *oid2);

DESCRIPTION

The bson_oid_compare() function shall return a qsort() style value of a lexicographical sort of oid1 and oid2.

RETURN VALUE

less than, greater than, or equal to zero based on compare.

ERRORS

No errors are defined.

SEE ALSO

AUTHORS

This page was written by MongoDB, Inc.