MONGOC_READ_CONCERN_IS_DEFAULT(3) libmongoc MONGOC_READ_CONCERN_IS_DEFAULT(3)

bool
mongoc_read_concern_is_default (mongoc_read_concern_t *read_concern);


read_concern: A pointer to a mongoc_read_concern_t.

Returns true if read_concern has not been modified from the default. For example, if no "readConcern" option is set in the MongoDB URI and you have not called mongoc_client_set_read_concern(), then mongoc_read_concern_is_default() is true for the read concern returned by mongoc_client_get_read_concern().

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0