MONGOC_CLIENT...CASE_SENSITIVE(3)
β¨ mongoc_client_encryption_encrypt_text_opts_set_case_sensitive β¨
okay bestie, we're in the libmongoc section of the manual (that's the C driver for MongoDB, iykyk) and today's main character is a lil setter function that decides whether your text search cares about CAPS or not. π
πΈ SYNOPSIS πΈ
void
mongoc_client_encryption_encrypt_text_opts_set_case_sensitive(
mongoc_client_encryption_encrypt_text_opts_t *opts,
bool case_sensitive);
like, that's the whole vibe. it returns void, so don't go looking for a return value, it's not coming. π«Ά
π¦ DESCRIPTION π¦
Added in version 2.2.0. β
This one sets whether text search is case sensitive. that's it, that's the whole job, and it does it flawlessly. no cap.
π¨ GIRLIE POP THE ALARM π¨ 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 listen β the GA version of these features may not be backwards compatible with the preview version. so do not build your whole personality on this yet, fr fr. π
π PARAMETERS π
optsβ amongoc_client_encryption_encrypt_text_opts_t. that's the options struct you're poking at, bestie. πcase_sensitiveβ iftrue, text search is case sensitive. if it's nottrue... well, you already know. π
π See also:
mongoc_client_encryption_encrypt_text_opts_t
π Author
MongoDB, Inc
π Copyright
2009-present, MongoDB, Inc.
and that's the tea, bestie π you just read a whole manpage and understood it, iconic behavior honestly. this was libmongoc version 2.2.2, dated Feb 13, 2026 β go forth and be case sensitive (or not), 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