---
name: "mongoc_read_concern_is_default"
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_read_concern_is_default"
---

# mongoc\_read\_concern\_is\_default(3)

## SYNOPSIS

```
bool
mongoc_read_concern_is_default (mongoc_read_concern_t *read_concern);
```

## PARAMETERS

- •

  **read\_concern**: A pointer to a *mongoc\_read\_concern\_t*.

## DESCRIPTION

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()*.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
