MONGOC_CLIENT_...N_QUERY_LENGTH(3)

πŸ“¦ version 2.2.2, in ubuntu resolute

πŸ’… okay so, welcome to libmongoc πŸ’…

Bestie, you found the page for mongoc_client_encryption_encrypt_text_suffix_opts_set_str_min_query_length, and ngl the name is giving "my parents named me after a whole sentence" but we're gonna get through it together, fr fr. This one lives in the libmongoc manual, and it's short, it's sweet, and it's got a whole warning about preview software that you genuinely need to read. 🫢


✨ SYNOPSIS ✨

void
mongoc_client_encryption_encrypt_text_suffix_opts_set_str_min_query_length(
   mongoc_client_encryption_encrypt_text_suffix_opts_t *opts,
   int32_t str_min_query_length);

Like. Look at that signature. No return value. It just does the thing and dips. Iconic behaviour, honestly. πŸ’…

Added in version 2.2.0. (yes queen, we're documenting the lore 🌸)


πŸŽ€ DESCRIPTION πŸŽ€

So what does this actually do? It sets the minimum query length for suffix text search encryption options. That's it. That's the whole job. It's a setter, bestie, it's not that deep. ✨

🚨 okay STOP. Real talk for a sec. 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). The GA version of these features may not be backwards compatible with the preview version. So like… do not ship your situationship's private diary encryption on this. πŸ’€

🌈 PARAMETERS 🌈

  • opts β€” a mongoc_client_encryption_encrypt_text_suffix_opts_t. The little options bag you're poking. πŸŽ€
  • str_min_query_length β€” the minimum query length for suffix search. Must be greater than zero. Like, zero is not it. Negative is not it. Greater than zero, periodt. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

Your little reading list, bestie, go be nosy:

  • mongoc_client_encryption_encrypt_text_suffix_opts_new() πŸ¦‹
  • mongoc_client_encryption_encrypt_text_opts_set_suffix() πŸ¦‹

πŸ’– AUTHOR πŸ’–

MongoDB, Inc β€” the main characters, obviously. πŸ‘‘

2009-present, MongoDB, Inc. β€” all rights reserved and all vibes preserved. 🫢


and that's the whole page, bestie!! this was libmongoc 2.2.2, dated Feb 13, 202, written up with love, glitter, and zero skipped details. go forth and set your minimum query length responsibly. mwah πŸ’‹βœ¨πŸŽ€
πŸ“¦ where this page comes from