logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

Author

       MongoDB, Inc

Description

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

Parameters

oid1: A bson_oid_t.

       • oid2: A bson_oid_t.

Returns

       less than 0, 0, or greater than 0 based on the comparison.

Synopsis

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

See Also