MONGOC_CLIENT...CASE_SENSITIVE(3)

πŸ“¦ version 2.2.2, in ubuntu resolute

✨ 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 β€” a mongoc_client_encryption_encrypt_text_opts_t. that's the options struct you're poking at, bestie. πŸ’–
  • case_sensitive β€” if true, text search is case sensitive. if it's not true... well, you already know. πŸ‘‘

πŸ’œ See also:

  • mongoc_client_encryption_encrypt_text_opts_t

πŸ‘‘ Author

MongoDB, Inc

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