DOKK / manpages / debian 10 / libmongoc-doc / mongoc_write_concern_get_wtimeout.3.en
MONGOC_WRITE_CONCERN_GET_WTIMEOUT(3) MongoDB C Driver MONGOC_WRITE_CONCERN_GET_WTIMEOUT(3)

mongoc_write_concern_get_wtimeout - mongoc_write_concern_get_wtimeout()

int32_t
mongoc_write_concern_get_wtimeout (const mongoc_write_concern_t *write_concern);


write_concern: A mongoc_write_concern_t.

Get the timeout in milliseconds that the server should wait before returning with a write concern timeout.

A value of 0 indicates no write timeout.

Returns an 32-bit signed integer containing the timeout.

MongoDB, Inc

2017-present, MongoDB, Inc

February 23, 2019 1.14.0