BSON_OID_COMPARE(3)
Okay bestie, this is BSON_OID_COMPARE(3) from libbson, and it's literally the vibe check for two OIDs. No cap. π¦
β¨ SYNOPSIS β¨
int
bson_oid_compare (const bson_oid_t *oid1, const bson_oid_t *oid2);
π PARAMETERS π
oid1β abson_oid_t. That's it, that's the girl. πoid2β anotherbson_oid_t. Equality icon behavior fr fr.
πΈ DESCRIPTION πΈ
So the bson_oid_compare() function shall return a qsort() style value of a lexicographical sort of oid1 and oid2. It's giving comparison-core, and honestly? Obsessed. β¨
π RETURNS π
Less than 0, exactly 0, or greater than 0 based on the comparison. The classic qsort() trio, slaying as always. π
π«Ά AUTHOR π«Ά
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
This iconic lil page is from libbson 2.5.6, dated Oct 09, 2026. Byeee bestie, go compare some OIDs responsibly ππ
π¦ where this page comes from
- epel 10: libbson-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms