Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

MongoDB::ReadConcern - Encapsulate and validate a read concern

Attributes

level
       The read concern level determines the consistency level required of data being read.

       The default level is "undef", which means the server will use its configured default.

       If the level is set to "local", reads will return the latest data a server has locally.

       Additional levels are storage engine specific.  See Read Concern
       <http://docs.mongodb.org/manual/search/?query=readConcern> in the MongoDB documentation for more details.

       This may be set in a connection string with the the "readConcernLevel" option.

Authors

       •   David Golden <david@mongodb.com>

       •   Rassi <rassi@mongodb.com>

       •   Mike Friedman <friedo@friedo.com>

       •   Kristina Chodorow <k.chodorow@gmail.com>

       •   Florian Ragwitz <rafl@debian.org>

Description

       A Read Concern describes the constraints that MongoDB must satisfy when reading data.  Read Concern was
       introduced in MongoDB 3.2.

Name

       MongoDB::ReadConcern - Encapsulate and validate a read concern

Synopsis

           $rc = MongoDB::ReadConcern->new(); # no defaults

           $rc = MongoDB::ReadConcern->new(
               level    => 'local',
           );

Version

       version v2.2.2

See Also