mongoc_write_concern_set_w()

Synopsis

void
mongoc_write_concern_set_w (mongoc_write_concern_t *write_concern,
                            int32_t                 w);

Parameters

write_concern

A mongoc_write_concern_t.

w

A int32_t.

Description

Sets the w value for the write concern. See mongoc_write_concern_t for more information on this setting.