MONGOC_CLIENT_...SET_RANGE_OPTS(3)

okay bestie, welcome to the MONGOC_CLIENT_...SET_RANGE_OPTS(3) page from libmongoc πŸ’– this one is short but important, so pay attention for like two seconds fr fr 🫢

✨ SYNOPSIS ✨

          void
          mongoc_client_encryption_encrypt_opts_set_range_opts (
                mongoc_client_encryption_encrypt_opts_t *opts,
                const mongoc_client_encryption_encrypt_range_opts_t *range_opts);

this landed new in version 1.24.0 ✨

so it sets the range_opts for explicit encryption. only applies when the algorithm set by mongoc_client_encryption_encrypt_opts_set_algorithm() is "Range" πŸ‘‘ and bestie, it is literally an error to set range_opts when the algorithm is not "Range" πŸ’€ no cap.

πŸŽ€ PARAMETERS πŸŽ€

  • opts β€” a mongoc_client_encryption_encrypt_opts_t 🫢
  • range_opts β€” a mongoc_client_encryption_encrypt_range_opts_t ✨

πŸ‘€ SEE ALSO πŸ‘€

go check out mongoc_client_encryption_encrypt_range_opts_new() too, iykyk πŸ’…

🌸 AUTHOR 🌸

MongoDB, Inc

2009-present, MongoDB, Inc.


that's the whole page, bestie! πŸ’– source/version: libmongoc 2.5.6, dated Oct 09, 202 β€” mwah, bye! 🫢✨

πŸ“¦ where this page comes from