MONGOC_CLIENT_..._SET_SUBSTRING(3)

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

πŸŽ€ MONGOC_CLIENT_..._SET_SUBSTRING(3) πŸŽ€

okay so bestie, we're in libmongoc territory today and this page is literally one function, so we can absolutely do this together πŸ’–


✨ SYNOPSIS ✨

void
mongoc_client_encryption_encrypt_string_opts_set_substring(
   mongoc_client_encryption_encrypt_string_opts_t *opts,
   mongoc_client_encryption_encrypt_string_substring_opts_t *ssopts);
Changed in version 2.4.0: this got renamed from the text API β€” which is now deprecated, so if you're still kicking it with the old name, that's giving legacy code energy ngl 😭

So what does it do? It sets the substring options for string search encryption. That's the whole vibe. Periodt. πŸ’…


🌸 PARAMETERS 🌸

  • opts β€” a mongoc_client_encryption_encrypt_string_opts_t. the main character here πŸ‘‘
  • ssopts β€” a mongoc_client_encryption_encrypt_string_substring_opts_t that you're setting as the substring options. the supporting lead 🫢
⚠️ real talk, please read this ⚠️ The "substringPreview" query type is in preview and should be used for experimental workloads only. This feature is unstable and its security is not guaranteed until it's released as Generally Available (GA). And bestie β€” the GA version of this feature may not be backwards compatible with the preview version. So don't be out here shipping this to prod and then acting surprised, iykyk πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

  • mongoc_client_encryption_encrypt_string_opts_new()
  • mongoc_client_encryption_encrypt_string_substring_opts_new()

go read those next, they're the prequels ✨


πŸ’œ AUTHOR πŸ’œ

MongoDB, Inc β€” the icon, the legend 🧚

2009-present, MongoDB, Inc.


that's the whole page, you ate that πŸ“ ily, see you in the next manpage β€” this one's from libmongoc version 2.5.6, dated Oct 09, 202 (yeah the date literally got cut off on the page, not my fault bestie πŸ™ˆ mwah πŸ’‹)

πŸ“¦ where this page comes from