1MONGOC_CLIENT_ENCRYPTIONM_OENNGCORCY_PCTL_IOEPNTlTSi__bESmNEoCTnR_gYQoPUcTEIROYN__TEYNPCER(Y3P)T_OPTS_SET_QUERY_TYPE(3)
2
3
4
6 mongoc_client_encryption_encrypt_opts_set_query_type - mon‐
7 goc_client_encryption_encrypt_opts_set_query_type()
8
10 #define MONGOC_ENCRYPT_QUERY_TYPE_EQUALITY "equality"
11 #define MONGOC_ENCRYPT_QUERY_TYPE_RANGEPREVIEW "rangePreview"
12
13 MONGOC_EXPORT (void)
14 mongoc_client_encryption_encrypt_opts_set_query_type (
15 mongoc_client_encryption_encrypt_opts_t *opts, const char* query_type);
16
17 New in version 1.22.0.
18
19
20 Sets a query type for explicit encryption. Currently, the supported
21 values for query_type are "equality" and "rangePreview". NOTE that the
22 Range algorithm is experimental only and not intended for public use.
23 It is subject to breaking changes.
24
25 Only applies when the algorithm set by
26 mongoc_client_encryption_encrypt_opts_set_algorithm() is "Indexed" or
27 "RangePreview". It is an error to set the query type when algorithm is
28 not "Indexed" or "RangePreview".
29
31 • opts: A mongoc_client_encryption_encrypt_opts_t
32
33 • query_type: A query type to use for explicit encryption.
34
36 MongoDB, Inc
37
39 2017-present, MongoDB, Inc
40
41
42
43
441.24.3 MONGOC_CLIAEuNgT_1E7N,CR2Y0P2T3ION_ENCRYPT_OPTS_SET_QUERY_TYPE(3)