mongoc_client_encryption_encrypt_opts_set_text_opts

Synopsis

void
mongoc_client_encryption_encrypt_opts_set_text_opts(
   mongoc_client_encryption_encrypt_opts_t *opts,
   const mongoc_client_encryption_encrypt_text_opts_t *text_opts);

Added in version 2.2.0.

Sets the text search encryption options for explicit encryption.

The "TextPreview" algorithm is in preview and should be used for experimental workloads only. These features are unstable and their security is not guaranteed until released as Generally Available (GA). The GA version of these features may not be backwards compatible with the preview version.

Parameters

See also:

mongoc_client_encryption_encrypt_text_opts_t <>
mongoc_client_encryption_encrypt_text_opts_new() <>
mongoc_client_encryption_encrypt_text_opts_set_prefix() <>
mongoc_client_encryption_encrypt_text_opts_set_suffix() <>
mongoc_client_encryption_encrypt_text_opts_set_substring() <>

Author

MongoDB, Inc

Info

Mar 04, 2026 2.2.3 libmongoc