mongoc_client_encryption_encrypt_opts_set_contention_factor(3)

mongoc_client_encryption_encrypt_opts_set_contention_factor3

Usage

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.

Parameters

•

opts: A mongoc_client_encryption_encrypt_opts_t

•

contention_factor: A non-negative contention factor.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.