DocumentFlags

public struct DocumentFlags : OptionSet

Document flags describing a replicated document.

  • Raw value.

    Declaration

    Swift

    public let rawValue: Int
  • Constructor with the raw value.

    Declaration

    Swift

    public init(rawValue: Int)
  • Indicating that the replicated document has been deleted.

    Declaration

    Swift

    public static let deleted: DocumentFlags
  • Indicating that the document’s access has been removed as a result of removal from all Sync Gateway channels that a user has access to.

    Declaration

    Swift

    public static let accessRemoved: DocumentFlags