MONGOC_CLIENT_...N_QUERY_LENGTH(3)
β¨ MONGOC_CLIENT_...N_QUERY_LENGTH(3) β¨
okay bestie, gather round π this one lives in the libmongoc manual, section 3, and it's the little setter that tells your prefix-search encryption options how short a query is allowed to be. Let's get into it π«Ά
π SYNOPSIS π
void
mongoc_client_encryption_encrypt_text_prefix_opts_set_str_min_query_length(
mongoc_client_encryption_encrypt_text_prefix_opts_t *opts,
int32_t str_min_query_length);
Added in version 2.2.0. β¨
So basically this sets the minimum query length for prefix text search encryption options. That's the whole vibe π
π¨ GIRL. LISTEN. π¨ 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 they're released as Generally Available (GA). And 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, fr fr π
π PARAMETERS π
optsβ amongoc_client_encryption_encrypt_text_prefix_opts_t. That's your options struct, your main character πstr_min_query_lengthβ the minimum query length for prefix search. Must be greater than zero. No zeros, no negatives, periodt. π βοΈ
π See also
mongoc_client_encryption_encrypt_text_prefix_opts_new()mongoc_client_encryption_encrypt_text_opts_set_prefix()
π Author
MongoDB, Inc
π Copyright
2009-present, MongoDB, Inc.
k bye bestie, that's the whole page π πΈ this was libmongoc version 2.2.2, dated Feb 13, 2024 β slay, go encrypt something (experimentally!) π¦ β¨ π
π¦ 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