Level
public enum Level : RawRepresentable, Codable, Equatable
An enumeration of possible ReadConcern levels.
-
Declaration
Swift
case local
-
Declaration
Swift
case available
-
Declaration
Swift
case majority
-
Declaration
Swift
case linearizable
-
Declaration
Swift
case snapshot
-
Any other read concern level not covered by the other cases. This case is present to provide forwards compatibility with any future read concerns which may be added to new versions of MongoDB.
Declaration
Swift
case other(level: String)
-
Declaration
Swift
public var rawValue: String { get }
-
Declaration
Swift
public init?(rawValue: String)