SysTutorials

Linux Manual Pages › Section 3

mongoc_write_concern_set_journal(3)

mongoc_write_concern_set_journal() – Sets if the write must have been journaled before indicating success.

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.

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.