logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

#define MONGOC_ENCRYPT_QUERY_TYPE_EQUALITY "equality"

Author

       MongoDB, Inc

Parameters

opts: A mongoc_client_encryption_encrypt_opts_tquery_type: A query type to use for explicit encryption.

Synopsis

          #define MONGOC_ENCRYPT_QUERY_TYPE_EQUALITY "equality"
          #define MONGOC_ENCRYPT_QUERY_TYPE_RANGE "range"

          void mongoc_client_encryption_encrypt_opts_set_query_type (
             mongoc_client_encryption_encrypt_opts_t *opts, const char* query_type);

       Added in version 1.22.0.

       Sets  a query type for explicit encryption. Currently, the supported values for query_type are "equality"
       and "range".

       Only applies when the algorithm set by mongoc_client_encryption_encrypt_opts_set_algorithm() is "Indexed"
       or "Range".  It is an error to set the query type when algorithm is not "Indexed" or "Range".

See Also