MONGOC_CLIENT..._PREFIX_OPTS_T(3)

πŸ“¦ version 2.2.2, in ubuntu resolute

πŸ’– MONGOC_CLIENT..._PREFIX_OPTS_T πŸ’–

okay bestie, welcome to the libmongoc section 3 glow-up πŸ¦‹ this one's all about mongoc_client_encryption_encrypt_text_prefix_opts_t and it's lowkey a whole vibe.


✨ SYNOPSIS ✨

typedef struct _mongoc_client_encryption_encrypt_text_prefix_opts_t mongoc_client_encryption_encrypt_text_prefix_opts_t;

that's it. that's the type. she's long, she's specific, she ate πŸ’…


🌸 DESCRIPTION 🌸

okay so first things first: this icon was Added in version 2.2.0. periodt. don't come at me with your 2.1 build, she's not there yet πŸ™ˆ

TextPrefixOpts specifies options for a Queryable Encryption field supporting "prefixPreview" queries. basically she's the options bag you hand over when you wanna set up prefix stuff. you use her to set options for mongoc_client_encryption_encrypt_text_opts_set_prefix() πŸŽ€

🚨 BIG WARNING MOMENT, NO CAP 🚨 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 listen β€” the GA version of these features may not be backwards compatible with the preview version. so like, do not build your entire main character production app on this. it's giving science experiment πŸ§ͺπŸ’€

🫢 SEE ALSO 🫢

  • mongoc_client_encryption_encrypt()
  • mongoc_client_encryption_encrypt_opts_t

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” icons only, honestly.

2009-present, MongoDB, Inc. β€” she's been slaying since 2009, fr fr.


and that's the whole page bestie, you understood it perfectly, i'm so proud πŸ₯ΉπŸ’– this was libmongoc 2.2.2, dated Feb 13, 2026 β€” mwah, go forth and encrypt responsibly πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from