MONGOC_CLIENT_ENCRYPTION_NEW(3)
β¨ MONGOC_CLIENT_ENCRYPTION_NEW β¨
okay bestie, welcome to the libmongoc glow-up corner π«Ά this one lives in section 3 of the manual (the library-call section, iykyk), and honestly? it's giving "just make me one of these please" energy π
πΈ SYNOPSIS πΈ
mongoc_client_encryption_t *
mongoc_client_encryption_new (mongoc_client_encryption_opts_t *opts,
bson_error_t *error);
literally what it says on the tin: create a new mongoc_client_encryption_t π brand new, fresh out of the box, main character energy.
π PARAMETERS π
optsβ amongoc_client_encryption_opts_t. that's the options object, she's got the settings, the vibe check happens here β¨errorβ abson_error_t. this is where the tea gets spilled if something goes wrong π
π¦ RETURNS π¦
a new mongoc_client_encryption_t that must be freed with mongoc_client_encryption_destroy() if it worked β no cap, don't just leave her hanging, that's so not slay π
and if it didn't work? returns NULL and sets error instead. so check your error, bestie, always πΈ
π SEE ALSO:
mongoc_client_encryption_tmongoc_client_encryption_opts_t
(go read those next, they're iconic, i promise π)
π AUTHOR π
MongoDB, Inc β the whole squad π«Ά
β COPYRIGHT β
2009-present, MongoDB, Inc. β like, decades of service, periodt π
and that's the whole page diva π this was libmongoc version 2.5.6, dated Oct 09, 2026 β screenshot it, cite it, live by it π¦β¨
π¦ 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