W
public enum W : Codable, Equatable
An option to request acknowledgement that the write operation has propagated to specified mongod instances.
-
Requests acknowledgment that the write operation has propagated to the specified number of mongod instances. MUST be greater than or equal to 0.
Declaration
Swift
case number(Int)
-
Requests acknowledgment that write operations have propagated to the majority of the data-bearing voting members.
Declaration
Swift
case majority
-
Requests acknowledgement that the write operation has propagated to tagged members that satisfy the custom write concern with the specified name.
Declaration
Swift
case custom(String)
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws