---
name: "mongoc_collection_set_read_concern"
section: "3"
platform: "linux"
package: "libmongoc-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mongoc_collection_set_read_concern"
---

# mongoc\_collection\_set\_read\_concern(3)

## SYNOPSIS

```
void
mongoc_collection_set_read_concern (mongoc_collection_t *collection,
                                    const mongoc_read_concern_t *read_concern);
```

## PARAMETERS

- •

  **collection**: A *mongoc\_collection\_t*.

- •

  **read\_concern**: A *mongoc\_read\_concern\_t*.

## DESCRIPTION

Sets the read concern to use for operations on **collection**.

The default read concern is empty: No readConcern is sent to the server unless explicitly configured.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
