MONGOC_CLIENT_...X_QUERY_LENGTH(3)
β¨ 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β amongoc_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
π COPYRIGHT π
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
- ubuntu resolute: libmongoc-doc 2.2.2-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms