MONGOC_CLIENT_..._SET_SUBSTRING(3)

πŸ“¦ version 2.2.2, in ubuntu resolute

πŸ’… MONGOC_CLIENT_..._SET_SUBSTRING(3) πŸ’…

okay bestie, welcome to the libmongoc manual page for mongoc_client_encryption_encrypt_text_opts_set_substring(). yes that name is a whole mouthful, we're gonna get through it together 🫢


✨ SYNOPSIS ✨

void
mongoc_client_encryption_encrypt_text_opts_set_substring(
   mongoc_client_encryption_encrypt_text_opts_t *opts,
   mongoc_client_encryption_encrypt_text_substring_opts_t *ssopts);

Added in version 2.2.0. ✨

So basically this function sets the substring options for text search encryption. that's the whole vibe. it takes your text opts, it takes your substring opts, and it hooks them up. matchmaker energy fr πŸ’–

⚠️ GIRL. READ THIS. THIS IS NOT A DRILL. 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 here's the spicy part: the GA version of these features may not be backwards compatible with the preview version. so like… don't build your whole personality on it yet, okay? πŸ™ˆ

🌸 PARAMETERS 🌸

  • opts β€” a mongoc_client_encryption_encrypt_text_opts_t. it's the text opts, she's the main character πŸ‘‘
  • ssopts β€” a mongoc_client_encryption_encrypt_text_substring_opts_t that you're setting as the substring options. the sidekick that's actually iconic πŸ’…

πŸ¦‹ See also πŸ¦‹

  • mongoc_client_encryption_encrypt_text_opts_new()
  • mongoc_client_encryption_encrypt_text_substring_opts_new()

go read those too, iykyk πŸŽ€


πŸ’œ Author πŸ’œ

MongoDB, Inc β€” yes the whole company, they said "we got this" ✨

2009-present, MongoDB, Inc. β€” long-running queen behavior honestly πŸ‘‘


okay that's the whole page bestie, you ate it, periodt 🌈

signing off from libmongoc, version 2.2.2, dated Feb 13, 202M β€” yeah that date is a lil cursed, we don't ask questions πŸ’€ anyway ily, go encrypt some text (experimentally, obviously) πŸ§šπŸ’–

πŸ“¦ where this page comes from