SysTutorials

Linux Manual Pages › Section 3

mongoc_write_concern_set_w(3)

mongoc_write_concern_set_w() – Sets the w value for the write concern. See mongoc_write_concern_t for more information on this setting.

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 positive int32_t or zero.

Description

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

Colophon

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