Provided by: libmongoc-doc_2.2.1-1_all bug

SYNOPSIS

          void
          mongoc_client_encryption_encrypt_text_opts_set_substring(
             mongoc_client_encryption_encrypt_text_opts_t *opts,
             mongoc_client_encryption_encrypt_text_substring_opts_t *ssopts);

       Added in version 2.2.0.

       Sets the substring options for text search 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

opts: A mongoc_client_encryption_encrypt_text_opts_t <>.

       • ssopts: A mongoc_client_encryption_encrypt_text_substring_opts_t <> to set as substring options.

       See also:
          mongoc_client_encryption_encrypt_text_opts_new() <>
          mongoc_client_encryption_encrypt_text_substring_opts_new() <>

Author

       MongoDB, Inc

Copyright

       2009-present, MongoDB, Inc.

2.2.1                                             Dec 11, 2025MONGOC_CLIENT_ENCRYPTI...EXT_OPTS_SET_SUBSTRING(3)