MONGOC_CLIENT_...TRING_OPTS_NEW(3)
π MONGOC_CLIENT_...TRING_OPTS_NEW(3) π
okay bestie, welcome to this libmongoc manual page π this one is a tiny lil constructor situation, and it's giving βspecific options struct, new in the chatβ energy. no cap.
β¨ 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. so yes, the old text API is deprecated β noted, queen π.
π RETURNS π
It hands you a new mongoc_client_encryption_encrypt_string_substring_opts_t that must be freed with mongoc_client_encryption_encrypt_string_substring_opts_destroy(). don't forget the destroy call, bestie, it's literally in the contract π«Ά
β οΈπ
warning time: 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. so likeβ¦ experimental only, fr fr β security is not guaranteed yet, and GA might not play nice with preview. π
π SEE ALSO π
mongoc_client_encryption_encrypt_string_substring_opts_destroy()mongoc_client_encryption_encrypt_string_opts_set_substring()
πΈ AUTHOR πΈ
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
signing off from the libmongoc manual, version 2.5.6, dated Oct 09, 202 π¦β¨ mwah π
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms