CBLConcurrencyControl

enum CBLConcurrencyControl {}

Concurruncy control type used when saving or deleting a document.

  • < The last write operation will win if there is a conflict.

    Declaration

    Objective-C

    kCBLConcurrencyControlLastWriteWins

    Swift

    case lastWriteWins = 0
  • < The operation will fail if there is a conflict.

    Declaration

    Objective-C

    kCBLConcurrencyControlFailOnConflict

    Swift

    case failOnConflict = 1