DittoQueryResult

class DittoQueryResult : Closeable

Represents results returned when executing a DQL query containing a DittoQueryResultItem for each match.

Note: More info such as metrics, affected document IDs, etc. will be provided in the near future.

Since

4.5.0

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()

Clean up result and release resources.

Link copied to clipboard
protected fun finalize()

Close before garbage collection.

Link copied to clipboard
fun mutatedDocumentIds(): Set<DittoDocumentId>

IDs of documents that were mutated locally by a mutating DQL query passed to execute(). Empty array if no documents have been mutated.

Properties

Link copied to clipboard
var items: List<DittoQueryResultItem>

Individual items matching a DQL query