ditto / live.ditto / DittoScopedWriteTransaction / findByID

findByID

fun findByID(id: DittoDocumentID): DittoWriteTransactionPendingIDSpecificOperation

Generates a DittoWriteTransactionPendingIDSpecificOperation with the provided document ID that can be used to update, remove, or evict the document.

Parameters

id - the ID of the document.

Return
a DittoWriteTransactionPendingIDSpecificOperation that you can chain function calls to either get the document immediately or get updates about it over time.