ReadConcernLevel

io.github.zeal18.zio.mongodb.driver.ReadConcernLevel$

The readConcern level of isolation for reads.

Attributes

Note:

Requires MongoDB 3.2 or greater

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def fromString(readConcernLevel: String): Try[ReadConcernLevel]

Returns the ReadConcern from the string read concern level.

Returns the ReadConcern from the string read concern level.

Attributes

readConcernLevel

the read concern level string.

Returns:

the read concern

Concrete fields

val AVAILABLE: ReadConcernLevel

The available read concern level.

The available read concern level.

Attributes

Note:

Requires MongoDB 4.0 or greater

The linearizable read concern.

The linearizable read concern.

This read concern is only compatible with org.mongodb.scala.ReadPreference$.primary

Attributes

Note:

Requires MongoDB 3.4 or greater

Return the node's most recent copy of data. Provides no guarantee that the data has been written to a majority of the nodes.

Return the node's most recent copy of data. Provides no guarantee that the data has been written to a majority of the nodes.

Attributes

Return the node's most recent copy of the data confirmed as having been written to a majority of the nodes.

Return the node's most recent copy of the data confirmed as having been written to a majority of the nodes.

Attributes

The snapshot read concern level.

The snapshot read concern level.

Attributes

Note:

Requires MongoDB 4.0 or greater