Initial

object Initial : DittoLiveQueryEvent

This type of event is delivered alongside the initial set matching documents for the live query. It is only delivered the first time that a live query event is delivered, for each live query.

Functions

Link copied to clipboard
fun hash(documents: List<DittoDocument>): BigInteger

Returns a hash that represents the set of matching documents.

Link copied to clipboard
fun hashMnemonic(documents: List<DittoDocument>): String

Returns a pattern of words that together create a mnemonic, which represents the set of matching documents.