mongoc_write_concern_is_default(3)

mongoc_write_concern_is_default3

Usage

bool
mongoc_write_concern_is_default (mongoc_write_concern_t *write_concern);

Parameters

•

write_concern: A pointer to a mongoc_write_concern_t.

Overview

Returns true if write_concern has not been modified from the default. For example, if no "w" option is set in the MongoDB URI and you have not called mongoc_client_set_write_concern(), then mongoc_write_concern_is_default() is true for the write concern returned by mongoc_client_get_write_concern().

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 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.