MONGOC_FIND_AND_MODIFY_OPTS_NEW(3)

πŸ’… MONGOC_FIND_AND_MODIFY_OPTS_NEW πŸ’…

okay bestie, welcome to the libmongoc corner of the group chat 🫢 this page is literally about mongoc_find_and_modify_opts_new, and it’s giving tiny-but-iconic builder-structure energy. no cap, every detail matters, so let’s go ✨


✨ SYNOPSIS ✨

mongoc_find_and_modify_opts_t *
mongoc_find_and_modify_opts_new (void);

πŸŽ€ RETURNS πŸŽ€

This function creates a newly allocated find and modify builder structure. That structure is used to create a findAndModify command. When it is no longer in use, it should be freed with mongoc_find_and_modify_opts_destroy(). periodt. πŸ’–

lowkey important, bestie: the manpage says free it with mongoc_find_and_modify_opts_destroy() when it’s no longer in use β€” no mystery structs just vibing in memory, okay? 🫢

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc


2009-present, MongoDB, Inc.


and that’s the whole vibe check, bestie βœ¨πŸ’… mwah β€” this page is from libmongoc source/version 2.5.6, dated Oct 09, 202 (yep, the footer date is clipped in the original, don’t @ me 😭).

πŸ“¦ where this page comes from