MONGOC_CLIENT_..._TEXT_OPTS_NEW(3)
β¨ MONGOC_CLIENT_..._TEXT_OPTS_NEW β¨
okay bestie, welcome to the libmongoc manual, section 3 π
this one is all about the little constructor that spins up your encrypt-text options for client-side encryption. pull up a chair πͺ
πΈ SYNOPSIS πΈ
mongoc_client_encryption_encrypt_text_opts_t *
mongoc_client_encryption_encrypt_text_opts_new(void);
that's it. that's the whole thing. no args, no drama, just vibes β¨
Added in version 2.2.0.
β οΈ BESTIE. HEAR ME OUT. The "TextPreview" algorithm is in preview and should be used for experimental workloads only. These features are unstable and their security is not guaranteed until released as Generally Available (GA). And β plot twist β the GA version of these features may not be backwards compatible with the preview version. so likeβ¦ lowkey do not ship this to prod, iykyk π
π RETURNS π
a brand new mongoc_client_encryption_encrypt_text_opts_t that must be freed with mongoc_client_encryption_encrypt_text_opts_destroy() π«Ά
like, genuinely must. it's giving "you break it, you bought it" energy. free your memory, queen π
See also:
mongoc_client_encryption_encrypt_text_opts_destroy()mongoc_client_encryption_encrypt_text_opts_set_prefix()mongoc_client_encryption_encrypt_text_opts_set_suffix()mongoc_client_encryption_encrypt_text_opts_set_substring()
these are your besties fr fr β go read them next π¦
π«Ά AUTHOR
MongoDB, Inc
π COPYRIGHT
2009-present, MongoDB, Inc.
and that's the tea β this was libmongoc version 2.2.2, dated Feb 13, 2025 β thanks for reading, ily, go free your pointers πβ¨π
π¦ where this page comes from
- ubuntu resolute: libmongoc-doc 2.2.2-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms