mongoc_read_concern_set_level() — MongoDB C Driver 1.6.3

- MongoDB C Driver 1.6.3 »
- API Reference »
- mongoc_read_concern_t

# mongoc_read_concern_set_level()

## Synopsis

    void
    mongoc_read_concern_set_level (mongoc_read_concern_t *read_concern,
                                   const char *level);

## Parameters

- `read_concern`: A mongoc_read_concern_t.
- `level`: The readConcern level to use. Should be one of the MONGOC_READ_CONCERN_LEVEL macros.

## Description

The readConcern option allows clients to choose a level of isolation for their reads.

Created using Sphinx 1.5.3, based on Sphinx Readable Theme.