MONGOC_CLIENT...T_RANGE_OPTS_T(3)
πΈ MONGOC_CLIENT...T_RANGE_OPTS_T(3) πΈ
okay bestie, welcome to the libmongoc manual page for this absolute icon of a struct π she's a little truncated in the title (the real name is long, we don't judge), and she's here to make your Queryable Encryption range queries slay β¨
β¨ SYNOPSIS β¨
typedef struct _mongoc_client_encryption_encrypt_range_opts_t mongoc_client_encryption_encrypt_range_opts_t;
that's it. that's the whole synopsis. a typedef and a vibe π«Ά
so likeβ¦ New in version 1.24.0 π β yes she's a newer girl, respect her era.
RangeOpts specifies the index options for a Queryable Encryption field that supports "range" queries. lowkey iconic of her. she's the one you use to set options for mongoc_client_encryption_encrypt() π₯
β οΈ bestie listen to me β the optionsmin,max, trim factor,sparsity, andrangemust match the values set in theencryptedFieldsof the destination collection. like, must. no cap. if they don't match, that's a whole situation π
and for the double and decimal128 field girlies: min/max/precision must all be set, or all be unset. no in-between, no half-and-half, all or nothing periodt π
π SEE ALSO π
mongoc_client_encryption_encrypt()mongoc_client_encryption_encrypt_opts_t
go read those too, iykyk π¦
π AUTHOR π
MongoDB, Inc β the masterminds, the main characters, the ones who signed off on this π
π COPYRIGHT π
2009-present, MongoDB, Inc. β yes she's been copyrighted since 2009 and she's still thriving β
okay that's the whole page, you ate that π mwah π
β with love, your girl libmongoc, version 2.5.6, dated Oct 09, 2026 π§ββοΈπ
π¦ 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