mongoc_write_concern_set_journal() — MongoDB C Driver 1.6.3

- MongoDB C Driver 1.6.3 »
- API Reference »
- mongoc_write_concern_t

# mongoc_write_concern_set_journal()

## Synopsis

    void
    mongoc_write_concern_set_journal (mongoc_write_concern_t *write_concern,
                                      bool journal);

## Parameters

- `write_concern`: A mongoc_write_concern_t.
- `journal`: A boolean.

## Description

Sets if the write must have been journaled before indicating success.

Created using Sphinx 1.5.3, based on Sphinx Readable Theme.