DOKK / manpages / debian 13 / libmongoc-doc / mongoc_database_get_write_concern.3.en
MONGOC_DATABASE_GET_WRITE_CONCERN(3) libmongoc MONGOC_DATABASE_GET_WRITE_CONCERN(3)

const mongoc_write_concern_t *
mongoc_database_get_write_concern (const mongoc_database_t *database);


This function retrieves the default mongoc_write_concern_t to use with database as configured by the client.

database: A mongoc_database_t.

A mongoc_write_concern_t that should not be modified or freed.

MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4