MONGOC_CLIENT..._SUFFIX_OPTS_T(3)

πŸ“¦ version 2.2.2, in ubuntu resolute

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

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