ditto-lib / live.ditto / DittoScopedWriteTransaction / find

find

fun find(query: String): DittoWriteTransactionPendingCursorOperation

Generates a DittoWriteTransactionPendingCursorOperation with the provided query that can be used to update, remove, or evict documents.

Parameters

query - the query to run against the collection.

Return
a DittoWriteTransactionPendingCursorOperation that you can use to chain further query-related function calls.