MONGOC_CLIENT_...X_QUERY_LENGTH(3)

πŸ“¦ version 2.2.2, in ubuntu resolute

✨ NAME ✨

MONGOC_CLIENT_...X_QUERY_LENGTH(3) β€” bestie, this is the libmongoc page about setting the max query length on your suffix text search encryption opts πŸ’– (yes the title is long, it's giving "my name is a whole paragraph", we love her anyway)


🌸 SYNOPSIS 🌸

void
mongoc_client_encryption_encrypt_text_suffix_opts_set_str_max_query_length(
   mongoc_client_encryption_encrypt_text_suffix_opts_t *opts,
   int32_t str_max_query_length);

πŸ’… DESCRIPTION πŸ’…

Added in version 2.2.0. πŸŽ€

Okay so this function sets the maximum query length for suffix text search encryption options. That's the whole job. She's a one-task icon and she eats every time πŸ‘‘

⚠️ GIRLIE LISTEN UP ⚠️ 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 released as Generally Available (GA). And no cap β€” the GA version of these features may not be backwards compatible with the preview version. So don't be out here putting this in prod, I'm begging πŸ˜­πŸ™

πŸ¦‹ PARAMETERS πŸ¦‹

  • opts β€” a mongoc_client_encryption_encrypt_text_suffix_opts_t. That's the lil struct you're decorating, hand her over πŸ’œ
  • str_max_query_length β€” the maximum query length for suffix search. Must be greater than zero. Zero or negative? Not the vibe. It will not slay. 🚫

🫢 SEE ALSO 🫢

  • mongoc_client_encryption_encrypt_text_suffix_opts_new()
  • mongoc_client_encryption_encrypt_text_opts_set_suffix()

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc


2009-present, MongoDB, Inc.


k bye bestie, go set your query length (greater than zero!!) and hydrate πŸ’§βœ¨ This was page for libmongoc version 2.2.2, dated Feb 13, 2025 β€” stay iconic, mwah πŸ’‹πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from