DittoSingleDocumentLiveQueryEvent
public struct DittoSingleDocumentLiveQueryEvent
Provides information about a live query event relating to a single document live query.
-
States whether the event is an
initial
event or not.Declaration
Swift
public let isInitial: Bool
-
The document’s previous state.
This will always be
nil
ifisInitial
istrue
. It will also benil
if the document was removed or evicted andisInitial
isfalse
.Declaration
Swift
public let oldDocument: DittoDocument?