MONGOC_READ_CONCERN_COPY(3)
π¦ MONGOC_READ_CONCERN_COPY(3) π¦
okay so bestie, welcome to the libmongoc corner of the internet β this one's a tiny little function but it's lowkey iconic and you're gonna get it in like ten seconds, no cap β¨
β¨ SYNOPSIS β¨
mongoc_read_concern_t *
mongoc_read_concern_copy (const mongoc_read_concern_t *read_concern);
literally that's the whole vibe. two lines. main character energy π
πΈ PARAMETERS πΈ
read_concernβ amongoc_read_concern_t. that's it, that's the whole argument π«Ά
π DESCRIPTION π
so what does it actually do? it performs a deep copy of read_concern. like, a real copy β not just "oh here's another pointer to the same thing, good luck" π she actually duplicates the thing so you can go off and do your own thing with it.
β RETURNS β
it hands you back a newly allocated copy of read_concern π and because it's newly allocated, you gotta clean up after yourself: free it with mongoc_read_concern_destroy() once you're done with it and it's no longer in use. don't just leave it lying around, that's not the vibe π
bestie pls remember: new copy = your responsibility. mongoc_read_concern_destroy() is the move π
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
and that's the whole page, you ate that fr fr π the fine print: this is libmongoc version 2.5.6, dated Oct 09, 2026 β mwah, go free your read concerns responsibly πβ¨
π¦ where this page comes from
- epel 10: mongo-c-driver-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