UpdatePolicy
public enum UpdatePolicy : String, Equatable
Defines how a persisted value should behave when a value already exists at the destination. Use this to control whether a new value can overwrite an existing one.
-
Subsequent persist operations are allowed to overwrite any existing value at the destination with the latest value.
Declaration
Swift
case allowUpdate -
The first successfully persisted value is kept; any later attempts to persist a new value to the same destination are ignored.
Declaration
Swift
case keepFirstValue -
Declaration
Swift
public init?(rawValue: String)
View on GitHub