mongoc_write_concern_new()#

Synopsis#

mongoc_write_concern_t *
mongoc_write_concern_new (void) BSON_GNUC_WARN_UNUSED_RESULT;

Returns#

Creates a newly allocated write concern that can be configured based on user preference. This should be freed with mongoc_write_concern_destroy() when no longer in use.