---
name: "mongoc_uri_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_uri_set_read_concern"
---

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

## SYNOPSIS

```
void
mongoc_uri_set_read_concern (mongoc_uri_t *uri,
                             const mongoc_read_concern_t *rc);
```

## PARAMETERS

- •

  **uri**: A *mongoc\_uri\_t*.

- •

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

## DESCRIPTION

Sets a MongoDB URI's read concern option, after the URI has been parsed from a string.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
