DocumentChangedDetails

public struct DocumentChangedDetails

Structure containing details of database document changes.

Changes can include creation, data updates, documents replicated from the server, or documents deleted.

  • The id of the document

    Declaration

    Swift

    public internal(set) var documentId: String
  • Flag indicating the document change came from a replication sync

    Declaration

    Swift

    public internal(set) var isFromReplication: Bool
  • Flag indicating the document has been deleted

    Declaration

    Swift

    public internal(set) var isDeleted: Bool