MONGOC_AUTO_E...QUERY_ANALYSIS(3)
mongoc_auto_encryption_opts_set_bypass_query_analysis π
okay bestie, so this one lives in libmongoc (yes, the C driver, we love her) and it's literally the function that lets you tell auto-encryption to chill and stop analyzing your outgoing commands. no cap.
β¨ SYNOPSIS β¨
void
mongoc_auto_encryption_opts_set_bypass_query_analysis (
mongoc_auto_encryption_opts_t *opts, bool bypass_query_analysis);
π New in version 1.22.0. periodt.
π PARAMETERS π
optsβ themongoc_auto_encryption_opts_tπ like, the actual options object you're poking at.bypass_query_analysisβ abool. yes bestie, just true or false, that's the whole vibe πΈ
π¦ the tea on bypass_query_analysis π¦
so bypass_query_analysis disables automatic analysis of outgoing commands. that's it, that's the function.
and here's why you'd want that: it's genuinely useful for encrypting indexed fields when you don't have the crypt_shared library or a mongocryptd process hanging around. no helper daemons? no problem, she still ate π
set bypass_query_analysis to true whenever you wanna use explicit encryption on indexed fields. that's the move. that's the main character energy β¨
π SEE ALSO
mongoc_client_enable_auto_encryption()- In-Use Encryption π₯
π AUTHOR
MongoDB, Inc β icons only, fr fr π«Ά
π COPYRIGHT
2009-present, MongoDB, Inc. β like, a whole era of copyright, we love that for them π
β lowkey reminder: every flag and default up there is exactly as written, no cap. go forth and encrypt those indexed fields, bestie ππ
signing off from libmongoc 2.5.6, dated Oct 09, 2026 β catch you in the next manpage, mwah π
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms