MONGOC_CLIENT...N_QUERY_LENGTH(3)

πŸ“¦
version 2.5.6 Β· 2 versions
, in epel 10

✨ 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 β€” a mongoc_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 ⭐

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