MONGOC_CLIENT_..._SET_SUBSTRING(3)
π 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β amongoc_client_encryption_encrypt_string_opts_t. the main character here πssoptsβ amongoc_client_encryption_encrypt_string_substring_opts_tthat 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 π§
π COPYRIGHT π
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
- 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