mongoc_auto_encryption_opts_new
mongoc_auto_encryption_opts_new()
- Provided by: libmongoc-doc (Version: 1.21.0-1build1)
- Source: mongo-c-driver
- Report a bug
mongoc_auto_encryption_opts_new()
mongoc_auto_encryption_opts_t * mongoc_auto_encryption_opts_new (void) BSON_GNUC_WARN_UNUSED_RESULT;
Create a new mongoc_auto_encryption_opts_t.
Caller must set the required options:
Caller may set optionally set the following:
This options struct is used to enable auto encryption with mongoc_client_enable_auto_encryption().
A new mongoc_auto_encryption_opts_t, which must be destroyed with mongoc_auto_encryption_opts_destroy().
SEE ALSO:
mongoc_auto_encryption_opts_destroy()
mongoc_client_enable_auto_encryption()
The guide for Using Client-Side Field Level Encryption
MongoDB, Inc
2017-present, MongoDB, Inc