mongoc_write_concern_is_acknowledged()

Synopsis

bool
mongoc_write_concern_is_acknowledged (const mongoc_write_concern_t *write_concern);

Parameters

write_concern

A mongoc_write_concern_t.

Description

Test if this is an acknowledged or unacknowledged write concern.

If write_concern is NULL, returns true. (In other words, writes are acknowledged by default.)