ditto-lib / live.ditto / DittoLiveQuery

DittoLiveQuery

class DittoLiveQuery

The type that is returned when calling observe on a DittoCollection object. It handles the logic for calling the event handler that is provided to the observe call.

Properties

collectionName

the name of the collection that the live query is based on.

val collectionName: String

limit

the maximum number of documents that will be returned as part of any one invocation of the closure provided.

val limit: Int

offset

the number of documents to offset the query results by.

val offset: Int

query

the query that the live query is based on.

val query: String

Functions

finalize

fun finalize(): Unit

stop

fun stop(): Unit