mongoc_client_encryption_encrypt_string_opts_t

Synopsis

typedef struct _mongoc_client_encryption_encrypt_string_opts_t mongoc_client_encryption_encrypt_string_opts_t;

Changed in version 2.4.0: Renamed from the now-deprecated text API.

StringOpts specifies index options for a Queryable Encryption field supporting "string" queries. Used to set options for mongoc_client_encryption_encrypt() <>.

Case sensitive and diacritic sensitive must be set. If prefix or suffix are set, substring must not be set.

See also:

mongoc_client_encryption_encrypt() <>
mongoc_client_encryption_encrypt_opts_t <>

Author

MongoDB, Inc

Info

Aug 05, 2026 2.4.0 libmongoc