MONGOC_CLIENT...N_QUERY_LENGTH(3)
β¨ SYNOPSIS β¨
okay bestie, come closer, this is the libmongoc manual page for one very specific little setter π
and yes the header truncated it (classic) but it's the mongoc_client_encryption_encrypt_string_substring_opts_set_str_min_query_length show, so let's go π
void
mongoc_client_encryption_encrypt_string_substring_opts_set_str_min_query_length(
mongoc_client_encryption_encrypt_string_substring_opts_t *opts,
int32_t str_min_query_length);
Changed in version 2.4.0: this got renamed from the text API, which is now deprecated π so if you're still on the old name, that's giving "living in the past" energy, no cap.
So what does it actually do? It sets the minimum query length for substring string search encryption options β¨ that's it, that's the whole job, and it ate π
π PARAMETERS π
optsβ amongoc_client_encryption_encrypt_string_substring_opts_t. like, the options struct you're poking at π«Άstr_min_query_lengthβ the minimum query length for substring search. must be greater than zero fr fr, zero and negatives are not it π
β οΈ okay this part is important so listen up: 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 the GA version of this feature may not be backwards compatible with the preview version π so don't build your whole main character arc on the preview, k?
πΈ SEE ALSO πΈ
mongoc_client_encryption_encrypt_string_substring_opts_new()mongoc_client_encryption_encrypt_string_opts_set_substring()
π AUTHOR π
MongoDB, Inc β icons only β
π¦ COPYRIGHT π¦
2009-present, MongoDB, Inc.
and that's the page, bestie!! π written by MongoDB, Inc, copyright 2009-present, from libmongoc version 2.5.6, dated Oct 09, 2026 β mwah, go encrypt something cute ππ§
π¦ 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