MONGOC_CLIENT_...PT_TEXT_OPTS_T(3)
π mongoc_client_encryption_encrypt_text_opts_t π
ok so bestie, welcome to the libmongoc manual, section 3 β this one's a whole struct and it's giving Queryable Encryption energy. sit down, hydrate, let's go π
β¨ SYNOPSIS β¨
typedef struct _mongoc_client_encryption_encrypt_text_opts_t mongoc_client_encryption_encrypt_text_opts_t;
Added in version 2.2.0. yes she's new, yes she's cute, no she is not done cooking (more on that in a sec π).
π what even is TextOpts
TextOpts specifies index options for a Queryable Encryption field supporting "textPreview" queries. Basically it's the lil' settings bag you hand over when you wanna set options for mongoc_client_encryption_encrypt() π«Ά.
Some rules, no cap, and you cannot skip them:
- Case sensitive and diacritic sensitive must be set.
- If prefix or suffix are set, substring must not be set.
π¨ okay this part is important and I need you to actually read it: 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). The GA version of these features may not be backwards compatible with the preview version. So likeβ¦ play with it, don't ship your whole vibe on it yet, bestie π
π See also
mongoc_client_encryption_encrypt()mongoc_client_encryption_encrypt_opts_t
π«Ά Author
MongoDB, Inc β they ate, fr fr π
π Copyright
2009-present, MongoDB, Inc.
and that's the whole page, periodt β¨ thanks for reading the libmongoc mongoc_client_encryption_encrypt_text_opts_t(3) page, version 2.2.2, dated Feb 13, 2025 π go encrypt something (responsibly, it's still preview) π¦π
π¦ 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