MONGOC_CLIENT..._SUFFIX_OPTS_T(3)
MONGOC_CLIENT..._SUFFIX_OPTS_T(3) π
okay bestie, this one lives in libmongoc and it's short but she's important, so let's get into it π
β¨ SYNOPSIS β¨
typedef struct _mongoc_client_encryption_encrypt_text_suffix_opts_t mongoc_client_encryption_encrypt_text_suffix_opts_t;
π¦ THE VIBE π¦
Added in version 2.2.0. β¨
So like. TextSuffixOpts specifies options for a Queryable Encryption field that supports "suffixPreview" queries. It's the little struct you use to set options for mongoc_client_encryption_encrypt_text_opts_set_suffix() <>. That's the whole job. She's a supporting character but she serves. π
π¨ OKAY PAUSE. READ THIS PART. IT'S IMPORTANT. π¨ 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 don't build your whole life on it, bestie. π No cap.
π See also:
mongoc_client_encryption_encrypt()<>mongoc_client_encryption_encrypt_opts_t<>
π«Ά Author
MongoDB, Inc
π Copyright
2009-present, MongoDB, Inc.
and that's the whole page, babe β documented, dated, and cute. this was libmongoc version 2.2.2, dropped on Feb 13, 2026, and honestly? iconic. go forth and encrypt your suffixes responsibly. π§π
π¦ 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