BSON_EQUAL(3)

πŸ’… bson_equal(3) β€” the libbson era πŸ’…

okay so bestie, picture this: you've got two bson_t documents and you're sitting there like "are these literally the same??" β€” and boom, bson_equal() walks in with main character energy. that's it. that's the page. let's go ✨


🌸 SYNOPSIS 🌸

bool
bson_equal (const bson_t *bson, const bson_t *other);

she takes two pointers and hands you back a bool. simple. iconic. no cap. 🫢


πŸŽ€ PARAMETERS πŸŽ€

  • bson β€” a bson_t. yes, one of the two we're comparing. she's the first one. πŸ’–
  • other β€” a bson_t. the other one. the challenger. the vibe check recipient. πŸ¦‹

✨ DESCRIPTION ✨

The bson_equal() function shall return true if both documents are equal. that's the whole bit, and honestly? she ate. πŸ’…

like β€” two docs, one question: same or not same. bson_equal() answers it. periodt. πŸ”₯


⭐ RETURNS ⭐

true if both documents are equal. 🌈

(and if they're not equal… well, you get the other bool. you know the one. πŸ‘€)


πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” the founders of the whole situation. bow down. πŸ™‡β€β™€οΈ


2009-present, MongoDB, Inc. β€” yes, that's the real range, don't come for me. 😭


and that's the page, bestie!! this was libbson 2.5.6, dated Oct 09, 2026 β€” screenshot it, cite it, live by it. mwah πŸ’‹πŸŽ€βœ¨

πŸ“¦ where this page comes from