DittoLiveQueryUpdateEvent
@objc
public class DittoLiveQueryUpdateEvent : NSObject, DittoLiveQueryEventValueObjC
Represents an update event that will be the value of an DittoLiveQueryEventObjC
when its type
is update
and asUpdateEvent
is called on it.
-
A list of
DittoDocument
s representing the previous set of matching documents before the update event.Declaration
Swift
@objc public let oldDocs: [DittoDocument]
-
A list of indexes referencing documents that have been inserted as part of the live query update event.
Declaration
Swift
@objc public let insertions: [Int]
-
A list of indexes referencing documents that have been deleted as part of the live query update event.
Declaration
Swift
@objc public let deletions: [Int]
-
A list of indexes referencing documents that have been updated as part of the live query update event.
Declaration
Swift
@objc public let updates: [Int]
-
A list of the moves that have occurred as part of the live query update event.
Declaration
Swift
@objc public let moves: [DittoLiveQueryMove]