BSON_ITER_OVERWRITE_TIMESTAMP(3)
π BSON_ITER_OVERWRITE_TIMESTAMP(3) β libbson manual π
You're in the libbson manual, bestie β page BSON_ITER_OVERWRITE_TIMESTAMP(3). Let's get into it β¨
β¨ SYNOPSIS β¨
void
bson_iter_overwrite_timestamp (bson_iter_t *iter,
uint32_t timestamp,
uint32_t increment);
π PARAMETERS π
iterβ Abson_iter_t. This is the iterator doing the observing, iykyk.timestampβ Auint32_t.incrementβ Auint32_t.
π DESCRIPTION π
okay so the bson_iter_overwrite_timestamp() function shall overwrite the contents of a BSON_TYPE_TIMESTAMP element in place. In place, bestie β that's the whole vibe.
π¨ This may only be done when the underlying bson document allows mutation. No mutation permission? Then nope, not happening.
π It is a programming error to call this function wheniteris not observing an element of typeBSON_TYPE_TIMESTAMP. Like, an actual programming error β not a cute little oopsie.
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
That's the page, bestie π«Ά Source/version: libbson 2.5.6; date: Oct 09, 2026. Byeee π
π¦ 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