Enum ConcurrencyControl
Specifies the way that the library should behave when it encounters a situation when the database has been altered since the last read (e.g. a local operation read a document, modified it, and while it was being modified a replication committed a change to the document, and then the local document was saved after that)
Namespace: Couchbase.Lite
Assembly: Couchbase.Lite.dll
Syntax
public enum ConcurrencyControl
Fields
Name | Description |
---|---|
FailOnConflict | Throw an exception to indicate the situation so that the latest data can be read again from the local database |
LastWriteWins | Disregard the version that was received out of band and force this version to be current |