Scroll to navigation

MONGOC_DATABASE_GET_READ_CONCERN(3) libmongoc MONGOC_DATABASE_GET_READ_CONCERN(3)

SYNOPSIS

const mongoc_read_concern_t *
mongoc_database_get_read_concern (const mongoc_database_t *database);


This function retrieves the default mongoc_read_concern_t <> to use with database as configured by the client.

PARAMETERS

database: A mongoc_database_t <>.

RETURNS

A mongoc_read_concern_t <> that should not be modified or freed.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

November 26, 2025 2.2.0