ditto-lib / live.ditto / DittoLiveQueryEvent / Update

Update

class Update<T : Any> : DittoLiveQueryEvent<T>

Constructors

<init>

Update(oldDocs: List<DittoDocument<T>>, insertions: List<Int>, deletions: List<Int>, updates: List<Int>, moves: List<DittoLiveQueryMove>)

Properties

deletions

val deletions: List<Int>

insertions

val insertions: List<Int>

moves

val moves: List<DittoLiveQueryMove>

oldDocs

val oldDocs: List<DittoDocument<T>>

updates

val updates: List<Int>