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