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 🐝


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