BSON_OID_EQUAL_UNSAFE(3)
β¨ BSON_OID_EQUAL_UNSAFE(3) β¨
okay so bestie, welcome to the libbson corner of the manual, where we talk about bson_oid_equal_unsafe β yes that name is a whole vibe and yes the "unsafe" is doing a lot of heavy lifting, we'll get there π
πΈ SYNOPSIS πΈ
static inline bool
bson_oid_equal_unsafe (const bson_oid_t *oid1, const bson_oid_t *oid2);
like, that's the whole signature. two bson_oid_t * pointers in, one bool out. it's giving simple. it's giving static inline. we love a low-overhead icon β¨
π¦ DESCRIPTION π¦
so here's the tea π β this function is identical to bson_oid_equal(), literally the same behavior, no cap.
the one difference? it performs no integrity checking π
that's it. that's the whole thing. no extra validation, no safety net, no vibe check on your inputs. it just goes straight in there and does the comparison. main character energy fr fr.
β οΈ heads up bestie β the name literally has "unsafe" in it, so likeβ¦ know what you're doing before you call it. the manpage says no integrity checking and it means no integrity checking. π
π AUTHOR π
MongoDB, Inc β the icons behind all of this π«Ά
π COPYRIGHT π
2009-present, MongoDB, Inc. β a whole era, honestly π
and that's the page!! π go forth and compare your OIDs, just, y'know, safely-ish β¨
version 2.5.6, dated Oct 09, 2026 β mwah, catch you in the next manpage πππ¦
π¦ 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