---
name: "mongoc_session_opts_get_causal_consistency"
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_session_opts_get_causal_consistency"
---

# mongoc\_session\_opts\_get\_causal\_consistency(3)

## SYNOPSIS

```
bool
mongoc_session_opts_get_causal_consistency (const mongoc_session_opt_t *opts);
```

Return true if this session is configured for causal consistency (the default), else false. See *mongoc\_session\_opts\_set\_causal\_consistency()*.

## PARAMETERS

- •

  **opts**: A *mongoc\_session\_opt\_t*.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
