MONGOC_CLIENT_..._SET_SUBSTRING(3)
π 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β amongoc_client_encryption_encrypt_text_opts_t. it's the text opts, she's the main character πssoptsβ amongoc_client_encryption_encrypt_text_substring_opts_tthat 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" β¨
π Copyright π
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
- ubuntu resolute: libmongoc-doc 2.2.2-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms