MONGOC_BULKWRI...ATEONEOPTS_NEW(3)
πΈ MONGOC_BULKWRI...ATEONEOPTS_NEW(3) πΈ
okay so bestie, welcome to libmongoc π β yes the manual name is right there, we're in libmongoc land, and this page is a tiny little icon of a page. one (1) function. no options, no flags, no environment variables, no exit statuses. just vibes and an allocator. let's go β¨
β¨ SYNOPSIS β¨
mongoc_bulkwrite_updateoneopts_t *
mongoc_bulkwrite_updateoneopts_new (void);
that's it. that's the whole synopsis. she's short, she's sweet, she takes no arguments (void, periodt) and she hands you back a pointer to a mongoc_bulkwrite_updateoneopts_t. π
π¦ DESCRIPTION π¦
so like, mongoc_bulkwrite_updateoneopts_new() returns a brand new mongoc_bulkwrite_updateoneopts_t. fresh out the box, main character energy, allocated just for you π
and because we're responsible besties, here's the part where you don't ghost it: when you're done, free it with mongoc_bulkwrite_updateoneopts_destroy(). no cap, free it. it's giving "new without destroy" and that's not the vibe we're going for π
lowkey the whole contract is:_new()gives you one,_destroy()takes it away. that's the friendship. π«Ά
π AUTHOR π
MongoDB, Inc β yeah, that MongoDB. they wrote this. slay π
π COPYRIGHT π
2009-present, MongoDB, Inc.
that's the whole copyright line, keep it safe, it's iconic π
okay and that's the page!! mwah π before you close the tab β the footer said version 2.5.6 and dated Oct 09, 202 (the year literally got ate by the title running into it, which is honestly so real of it π), and that footer is your little sign-off from the libmongoc girlies. go forth and _new() responsibly, and don't forget _destroy(). love u, bye β¨ππ
π¦ 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