Ubuntu Manpages

Read Concern abstraction

Macro Description First MongoDB version
MONGOC_READ_CONCERN_LEVEL_LOCAL Level "local", the default. 3.2
MONGOC_READ_CONCERN_LEVEL_MAJORITY Level "majority". 3.2
MONGOC_READ_CONCERN_LEVEL_LINEARIZABLE Level "linearizable". 3.4
MONGOC_READ_CONCERN_LEVEL_AVAILABLE Level "available". 3.6
MONGOC_READ_CONCERN_LEVEL_SNAPSHOT Level "snapshot". 4.0

For the sake of compatibility with future versions of MongoDB, mongoc_read_concern_set_level() allows any string, not just this list of known read concern levels.

See Read Concern Levels in the MongoDB manual for more information about the individual read concern levels.

MongoDB, Inc

2017-present, MongoDB, Inc