BSON_CONCAT(3)

okay bestie, welcome to the BSON_CONCAT(3) page from the libbson manual β€” it's short, it's sweet, and it's lowkey iconic πŸ’…

✨ SYNOPSIS ✨

          bool
          bson_concat (bson_t *dst, const bson_t *src);

πŸŽ€ PARAMETERS πŸŽ€

  • dst β€” A bson_t. That's the destination doc, the main character receiving the content 🫢
  • src β€” A bson_t. That's the source doc, the content getting poured in πŸ’–

🌸 DESCRIPTION 🌸

The bson_concat() function shall append the contents of src to dst. No cap, that's the whole function: it concatenates the BSON contents, and you're done ✨

πŸ”₯ RETURNS πŸ”₯

Returns true if successful; false if the operation would overflow the maximum document size or another invalid state is detected. So like, true = slay, false = the doc got too big or another invalid state got detected πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc 😌

2009-present, MongoDB, Inc.


and that's the page, bestie β€” brought to you by libbson 2.5.6, dated Oct 09, 2026. periodt πŸ’œ

πŸ“¦ where this page comes from