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