MONGOC_CLIENT_...N_QUERY_LENGTH(3)
π okay so, welcome to libmongoc π
Bestie, you found the page for mongoc_client_encryption_encrypt_text_suffix_opts_set_str_min_query_length, and ngl the name is giving "my parents named me after a whole sentence" but we're gonna get through it together, fr fr. This one lives in the libmongoc manual, and it's short, it's sweet, and it's got a whole warning about preview software that you genuinely need to read. π«Ά
β¨ SYNOPSIS β¨
void
mongoc_client_encryption_encrypt_text_suffix_opts_set_str_min_query_length(
mongoc_client_encryption_encrypt_text_suffix_opts_t *opts,
int32_t str_min_query_length);
Like. Look at that signature. No return value. It just does the thing and dips. Iconic behaviour, honestly. π
Added in version 2.2.0. (yes queen, we're documenting the lore πΈ)
π DESCRIPTION π
So what does this actually do? It sets the minimum query length for suffix text search encryption options. That's it. That's the whole job. It's a setter, bestie, it's not that deep. β¨
π¨ okay STOP. Real talk for a sec. 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). The GA version of these features may not be backwards compatible with the preview version. So likeβ¦ do not ship your situationship's private diary encryption on this. π
π PARAMETERS π
optsβ amongoc_client_encryption_encrypt_text_suffix_opts_t. The little options bag you're poking. πstr_min_query_lengthβ the minimum query length for suffix search. Must be greater than zero. Like, zero is not it. Negative is not it. Greater than zero, periodt. π
π SEE ALSO π
Your little reading list, bestie, go be nosy:
mongoc_client_encryption_encrypt_text_suffix_opts_new()π¦mongoc_client_encryption_encrypt_text_opts_set_suffix()π¦
π AUTHOR π
MongoDB, Inc β the main characters, obviously. π
πΈ COPYRIGHT πΈ
2009-present, MongoDB, Inc. β all rights reserved and all vibes preserved. π«Ά
and that's the whole page, bestie!! this was libmongoc 2.2.2, dated Feb 13, 202, written up with love, glitter, and zero skipped details. go forth and set your minimum query length responsibly. mwah πβ¨π
π¦ 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