DittoSubscription

class DittoSubscription : Closeable

While DittoSubscription objects remain in scope they ensure that documents in the collection specified and that match the query provided will try to be kept up-to-date with the latest changes from remote peers.

Functions

close
Link copied to clipboard
open override fun close()

Properties

collectionName
Link copied to clipboard
val collectionName: String

the name of the collection that the subscription is based on.

limit
Link copied to clipboard
val limit: Int
offset
Link copied to clipboard
val offset: Int
orderByDefinitions
Link copied to clipboard
val orderByDefinitions: List<COrderByParam_t>
query
Link copied to clipboard
val query: String

the query that the subscription is based on.

queryArgs
Link copied to clipboard
val queryArgs: Map<String, Any?>?