mongoc_client_get_write_concern() — MongoDB C Driver 1.6.3

- MongoDB C Driver 1.6.3 »
- API Reference »
- mongoc_client_t

# mongoc_client_get_write_concern()

## Synopsis

    const mongoc_write_concern_t *
    mongoc_client_get_write_concern (const mongoc_client_t *client);

Retrieve the default write concern configured for the client instance. The result should not be modified or freed.

## Parameters

- `client`: A mongoc_client_t.

## Returns

A mongoc_write_concern_t.

Created using Sphinx 1.5.3, based on Sphinx Readable Theme.