1MONGOC_CLIENT_ENCRYPTION_MEONNCGROYCP_TC_LRIAENlNGiTEb__mEOoNPnCTgRSoY_cPSTEITO_NM_AEXN(C3R)YPT_RANGE_OPTS_SET_MAX(3)
2
3
4
6 void
7 mongoc_client_encryption_encrypt_range_opts_set_max (
8 mongoc_client_encryption_encrypt_range_opts_t *range_opts,
9 const bson_value_t *max);
10
11 IMPORTANT:
12 The Range algorithm is experimental only and not intended for public
13 use. It is subject to breaking changes. This API is part of the ex‐
14 perimental Queryable Encryption API and may be subject to breaking
15 changes in future releases.
16
17 New in version 1.24.0.
18
19
20 Sets the maximum value of the range for explicit encryption. Only ap‐
21 plies when the algorithm set by
22 mongoc_client_encryption_encrypt_opts_set_algorithm() is "RangePre‐
23 view". It is an error to set maximum when algorithm is not "RangePre‐
24 view".
25
26 The maximum must match the value set in the encryptedFields of the des‐
27 tination collection. It is an error to set a different value.
28
29 For double and decimal128 fields, max/max/precision must all be set, or
30 all be unset.
31
33 • range_opts: A mongoc_client_encryption_encrypt_range_opts_t
34
35 • max: The maximum bson value of the range.
36
37 SEE ALSO:
38 mongoc_client_encryption_encrypt_range_opts_set_precision()
39 mongoc_client_encryption_encrypt_range_opts_set_min()
40 mongoc_client_encryption_encrypt_range_opts_t
41
42
44 MongoDB, Inc
45
47 2017-present, MongoDB, Inc
48
49
50
51
521.25.1 MONGOC_CLNIoEvNT0_8E,NC2R0Y2P3TION_ENCRYPT_RANGE_OPTS_SET_MAX(3)