MONGOC_WRITE_CONCERN_GET_FSYNC(3)
π MONGOC_WRITE_CONCERN_GET_FSYNC π
okay bestie, so this one lives in libmongoc (that's the MongoDB C driver, iykyk) and it's the lil function that checks whether fsync is turned on in your write concern. yes it's a whole vibe, but heads up, it's giving legacy β more on that in a sec π«Ά
β οΈ WARNING β οΈ
Deprecated since version 1.4.0 β use mongoc_write_concern_get_journal() instead. not me showing up to tell you your fave is old π like, this function still works, it's just not the moment anymore. go use the journal one, fr fr.
β¨ SYNOPSIS β¨
bool
mongoc_write_concern_get_fsync (const mongoc_write_concern_t *write_concern);
like yes, it returns a bool, yes it takes one pointer, slay π
π PARAMETERS π
write_concernβ amongoc_write_concern_t. that's the whole thing bestie, one (1) argument, she's low maintenance π
πΈ DESCRIPTION πΈ
so basically? it fetches whether an fsync should be performed before returning success on a write operation. that's it, that's the job β it goes and asks "hey, is fsync set in here?" and tells you. main character energy for a getter honestly π
π¦ RETURNS π¦
returns true if fsync is set as part of the write concern. and if it's not set? then it's not true, bestie, do the math π
π AUTHOR π
MongoDB, Inc β the icons themselves, no cap π
β COPYRIGHT β
2009-present, MongoDB, Inc. all theirs, we're just vibing in it π«
and that's the whole page, periodt π this was libmongoc 1.30.13, dated Oct 09, 2026 β love that for us, now go call mongoc_write_concern_get_journal() instead, mwah π
π
π¦ where this page comes from
- fedora 43: mongo-c-driver-devel 1.30.13-1.fc43 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- fedora 43: mongo-c-driver-devel 1.30.13-1.fc43 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms