MONGOC_CLIENT...ET_STRING_OPTS(3)

πŸ“¦
version 2.5.6 Β· 2 versions
, in epel 10

πŸ’… 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 β€” a mongoc_client_encryption_encrypt_opts_t. This is the options struct you're decorating, the main character of the operation 🫢
  • string_opts β€” a mongoc_client_encryption_encrypt_string_opts_t that 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_t
  • mongoc_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 πŸ’œ


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