MONGOC_CLIENT_...N_QUERY_LENGTH(3)

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

πŸ’… SYNOPSIS

okay bestie, welcome to the libmongoc manual page for the absolute icon that is mongoc_client_encryption_encrypt_string_prefix_opts_set_str_min_query_length(). The signature is literally:

void
mongoc_client_encryption_encrypt_string_prefix_opts_set_str_min_query_length(
   mongoc_client_encryption_encrypt_string_prefix_opts_t *opts,
   int32_t str_min_query_length);
🫢 Changed in version 2.4.0: renamed from the now-deprecated text API. So yes, new name, same β€œplease stop using the old text API” energy.

This function sets the minimum query length for prefix string search encryption options. Slay.

✨ PARAMETERS ✨

  • opts β€” a mongoc_client_encryption_encrypt_string_prefix_opts_t. That’s the options object you’re blessing with your settings.
  • str_min_query_length β€” the minimum query length for prefix search. It must be greater than zero, no cap. So 0 and negative numbers? Not invited to the party.

πŸ¦‹ SEE ALSO πŸ¦‹

  • mongoc_client_encryption_encrypt_string_prefix_opts_new()
  • mongoc_client_encryption_encrypt_string_opts_set_prefix()

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc

2009-present, MongoDB, Inc.


okay that’s the whole page, bestie β€” source/version 2.5.6, page date Oct 09, 2025. πŸ’–βœ¨

πŸ“¦ where this page comes from