New in version 3.2.
readConcern()method has the following form:
readConcern()method has the following parameter:
Parameter Type Description
Read concern level.
Possible read concern values are:
"local". This is the default read concern level.
"majority". Available for replica sets that use WiredTiger storage engine.
"linearizable". Available for read operations on the
For more formation on the read concern levels, see Read Concern Levels.