mongoc_client_encryption_encrypt_string_substring_opts_new()

Synopsis

mongoc_client_encryption_encrypt_string_substring_opts_t *
mongoc_client_encryption_encrypt_string_substring_opts_new(void);

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

Returns

A new mongoc_client_encryption_encrypt_string_substring_opts_t that must be freed with mongoc_client_encryption_encrypt_string_substring_opts_destroy().

The “substringPreview” query type is in preview and should be used for experimental workloads only. This feature is unstable and its security is not guaranteed until released as Generally Available (GA). The GA version of this feature may not be backwards compatible with the preview version.