DittoLiveQuery

class DittoLiveQuery : Closeable

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

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()

Stops the live query from receiving updates.

Link copied to clipboard
fun stop()

Stops the live query from receiving updates.

Properties

Link copied to clipboard
val collectionName: String

Name of the collection being queried.

Link copied to clipboard
val limit: Int

The query limit.

Link copied to clipboard
val offset: Int

The query offset.

Link copied to clipboard
val query: String

The query that the live query is based on.