MongoDB::ReadConcern - Encapsulate and validate a read concern
$rc = MongoDB::ReadConcern->new(); # no defaults
$rc = MongoDB::ReadConcern->new(
level => 'local',
A Read Concern describes the constraints that MongoDB must satisfy when reading data. Read Concern was introduced in MongoDB 3.2.
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 in the MongoDB documentation for more details.
This may be set in a connection string with the the readConcernLevel option.
David Golden <firstname.lastname@example.org>
Mike Friedman <email@example.com>
Kristina Chodorow <firstname.lastname@example.org>
Florian Ragwitz <email@example.com>
This software is Copyright (c) 2020 by MongoDB, Inc.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install MongoDB, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.