MONGOC_CLIENT..._SET_TEXT_OPTS(3)
π MONGOC_CLIENT_ENCRYPTION_ENCRYPT_OPTS_SET_TEXT_OPTS π
okay bestie, so this page is from the libmongoc manual, and it's all about one lil function: mongoc_client_encryption_encrypt_opts_set_text_opts(3). she's a setter, she's here to make your text-search encryption dreams come true, and she's been around since 2.2.0. let's get into it π
β¨ SYNOPSIS β¨
void
mongoc_client_encryption_encrypt_opts_set_text_opts(
mongoc_client_encryption_encrypt_opts_t *opts,
const mongoc_client_encryption_encrypt_text_opts_t *text_opts);
Added in version 2.2.0.
π¦ DESCRIPTION π¦
She sets the text search encryption options for explicit encryption. that's the whole job. no notes. π«Ά
π¨ okay so hear me out, this next part matters A LOT: 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, but don't put your whole life in it, fr fr. π
π PARAMETERS π
optsβ amongoc_client_encryption_encrypt_opts_t. she's the one getting the glow-up β¨text_optsβ amongoc_client_encryption_encrypt_text_opts_tthat's specifying the text search options. the inspo, the blueprint, the moment π
See also:
mongoc_client_encryption_encrypt_text_opts_tmongoc_client_encryption_encrypt_text_opts_new()mongoc_client_encryption_encrypt_text_opts_set_prefix()mongoc_client_encryption_encrypt_text_opts_set_suffix()mongoc_client_encryption_encrypt_text_opts_set_substring()
like go read those too, they're the rest of the friend group πΈ
π AUTHOR π
MongoDB, Inc β the icons themselves π
π COPYRIGHT π
2009-present, MongoDB, Inc.
okay that's the whole vibe check, bestie. this was libmongoc version 2.2.2, dated Feb 13, 2026, and honestly? iconic. go encrypt something (carefully, preview edition π). mwah πβ¨π¦
π¦ 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