MONGOC_CLIENT...ET_STRING_OPTS(3)
π NAME
mongoc_client_encryption_encrypt_opts_set_string_opts β bestie, this is the one that hands your explicit encryption the string search options β¨ (and yes, it lives in libmongoc, the C driver for MongoDB, iykyk)
β¨ SYNOPSIS
void
mongoc_client_encryption_encrypt_opts_set_string_opts(
mongoc_client_encryption_encrypt_opts_t *opts,
const mongoc_client_encryption_encrypt_string_opts_t *string_opts);
Changed in version 2.4.0: renamed from the now-deprecated text API. So if you're still out here calling the old text API, that's giving "living in 2023" energy π β the text API is deprecated, so like, move on bestie.
It sets the string search encryption options for explicit encryption. That's it, that's the whole vibe. π
πΈ PARAMETERS
optsβ amongoc_client_encryption_encrypt_opts_t. This is the options struct you're decorating, the main character of the operation π«Άstring_optsβ amongoc_client_encryption_encrypt_string_opts_tthat specifies your string search options. This is the payload, the ~content~, the thing that actually gets set π
Both of them are pointers and the second one is const, so no, you can't just do whatever to it. Respectfully. π
π¦ SEE ALSO
Like, if you fw this one, you'll fw these too β the whole friend group:
mongoc_client_encryption_encrypt_string_opts_tmongoc_client_encryption_encrypt_string_opts_new()mongoc_client_encryption_encrypt_string_opts_set_prefix()mongoc_client_encryption_encrypt_string_opts_set_suffix()mongoc_client_encryption_encrypt_string_opts_set_substring()
Prefix, suffix, substring β she's got range π it's giving "complete collection" fr fr.
π«Ά AUTHOR
MongoDB, Inc β yeah, that MongoDB π
π COPYRIGHT
2009-present, MongoDB, Inc. β iconic longevity honestly, they've been at this since 2009 and that's not nothing π
okay that's the whole page, you ate that, go encrypt some strings bestie π β¨
page brought to you by libmongoc 2.5.6, dated Oct 09, 2026 β see you in the next man page, mwah ππ§
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms