---
name: "mongoc_write_concern_get_journal"
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_write_concern_get_journal"
---

# mongoc\_write\_concern\_get\_journal(3)

## SYNOPSIS

```
bool
mongoc_write_concern_get_journal (const mongoc_write_concern_t *write_concern);
```

## PARAMETERS

- •

  **write\_concern**: A *mongoc\_write\_concern\_t*.

## DESCRIPTION

Fetches if the write should be journaled before indicating success.

## RETURNS

Returns true if the write should be journaled.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
