| MONGOC_CLIENT_ENCRYPTION_ENCRYPT_OPTS_SET_CONTENTION_FACTOR(3) | libmongoc | MONGOC_CLIENT_ENCRYPTION_ENCRYPT_OPTS_SET_CONTENTION_FACTOR(3) |
void mongoc_client_encryption_encrypt_opts_set_contention_factor (
mongoc_client_encryption_encrypt_opts_t *opts, int64_t contention_factor);
Added in version 1.22.0.
Sets a contention factor for explicit encryption. Only applies when the algorithm set by mongoc_client_encryption_encrypt_opts_set_algorithm() is "Indexed" or "Range". It is an error to set the contention factor when algorithm is not "Indexed" or "Range". If contention factor is not supplied, it defaults to a value of 0.
MongoDB, Inc
2009-present, MongoDB, Inc.
| May 7, 2025 | 1.30.4 |