1MongoDB::ReadConcern(3)User Contributed Perl DocumentatioMnongoDB::ReadConcern(3)
2
3
4
6 MongoDB::ReadConcern - Encapsulate and validate a read concern
7
9 version v2.2.1
10
12 $rc = MongoDB::ReadConcern->new(); # no defaults
13
14 $rc = MongoDB::ReadConcern->new(
15 level => 'local',
16 );
17
19 A Read Concern describes the constraints that MongoDB must satisfy when
20 reading data. Read Concern was introduced in MongoDB 3.2.
21
23 level
24 The read concern level determines the consistency level required of
25 data being read.
26
27 The default level is "undef", which means the server will use its
28 configured default.
29
30 If the level is set to "local", reads will return the latest data a
31 server has locally.
32
33 Additional levels are storage engine specific. See Read Concern
34 <http://docs.mongodb.org/manual/search/?query=readConcern> in the
35 MongoDB documentation for more details.
36
37 This may be set in a connection string with the the "readConcernLevel"
38 option.
39
41 · David Golden <david@mongodb.com>
42
43 · Rassi <rassi@mongodb.com>
44
45 · Mike Friedman <friedo@friedo.com>
46
47 · Kristina Chodorow <k.chodorow@gmail.com>
48
49 · Florian Ragwitz <rafl@debian.org>
50
52 This software is Copyright (c) 2019 by MongoDB, Inc.
53
54 This is free software, licensed under:
55
56 The Apache License, Version 2.0, January 2004
57
58
59
60perl v5.30.1 2020-01-30 MongoDB::ReadConcern(3)