'\" t .\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "MONGOC_READ_CONCERN_T" "3" "May 07, 2024" "1.27.1" "libmongoc" .sp Read Concern abstraction .SH SYNOPSIS .sp New in MongoDB 3.2. .sp The \fBmongoc_read_concern_t\fP allows clients to choose a level of isolation for their reads. The default, MONGOC_READ_CONCERN_LEVEL_LOCAL, is right for the great majority of applications. .sp You can specify a read concern on connection objects, database objects, or collection objects. .sp See \fI\%readConcern\fP on the MongoDB website for more information. .sp Read Concern is only sent to MongoDB when it has explicitly been set by \fI\%mongoc_read_concern_set_level()\fP to anything other than NULL. .SH READ CONCERN LEVELS .TS center; |l|l|l|. _ T{ Macro T} T{ Description T} T{ First MongoDB version T} _ T{ MONGOC_READ_CONCERN_LEVEL_LOCAL T} T{ Level \(dqlocal\(dq, the default. T} T{ 3.2 T} _ T{ MONGOC_READ_CONCERN_LEVEL_MAJORITY T} T{ Level \(dqmajority\(dq. T} T{ 3.2 T} _ T{ MONGOC_READ_CONCERN_LEVEL_LINEARIZABLE T} T{ Level \(dqlinearizable\(dq. T} T{ 3.4 T} _ T{ MONGOC_READ_CONCERN_LEVEL_AVAILABLE T} T{ Level \(dqavailable\(dq. T} T{ 3.6 T} _ T{ MONGOC_READ_CONCERN_LEVEL_SNAPSHOT T} T{ Level \(dqsnapshot\(dq. T} T{ 4.0 T} _ .TE .sp For the sake of compatibility with future versions of MongoDB, \fI\%mongoc_read_concern_set_level()\fP allows any string, not just this list of known read concern levels. .sp See \fI\%Read Concern Levels\fP in the MongoDB manual for more information about the individual read concern levels. .SH AUTHOR MongoDB, Inc .SH COPYRIGHT 2017-present, MongoDB, Inc .\" Generated by docutils manpage writer. .