MONGOC_CLIENT_...X_QUERY_LENGTH(3)

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

✨ MONGOC_CLIENT_...X_QUERY_LENGTH(3) ✨

okay so bestie, this is the libmongoc page for mongoc_client_encryption_encrypt_string_suffix_opts_set_str_max_query_length() β€” yes, the name is a whole runway, but she’s iconic and she sets the max query length for suffix string search encryption options. no cap. πŸ’…

🌸 SYNOPSIS 🌸

          void
          mongoc_client_encryption_encrypt_string_suffix_opts_set_str_max_query_length(
             mongoc_client_encryption_encrypt_string_suffix_opts_t *opts,
             int32_t str_max_query_length);

Changed in version 2.4.0: Renamed from the now-deprecated text API. 🫢 So yeah, the old text API is deprecated, periodt.

This function sets the maximum query length for suffix string search encryption options.

πŸŽ€ PARAMETERS πŸŽ€

  • opts β€” a mongoc_client_encryption_encrypt_string_suffix_opts_t. That’s the options struct you’re handing over, bestie.
  • str_max_query_length β€” the maximum query length for suffix search. It must be greater than zero β€” like, zero is not it, negative is not it, okay? 😭

πŸ‘€ SEE ALSO πŸ‘€

  • mongoc_client_encryption_encrypt_string_suffix_opts_new()
  • mongoc_client_encryption_encrypt_string_opts_set_suffix()

πŸ’– AUTHOR πŸ’–

MongoDB, Inc

2009-present, MongoDB, Inc.


okay that’s the whole page, bestie. footer tea: this is from libmongoc version 2.5.6, dated Oct 09, 202 (the footer cuts it off right there, not me 😭). slay responsibly. πŸ’…

πŸ“¦ where this page comes from