const mongoc_read_concern_t *
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_COLLECTION_GET_READ_CONCERN(3)
Description
Fetches the default read concern to be used on read operations originating from collection.
Parameters
• collection: A mongoc_collection_t.
Returns
A mongoc_read_concern_t that should not be modified or freed.
Synopsis
const mongoc_read_concern_t *
mongoc_collection_get_read_concern (const mongoc_collection_t *collection);
