Ditto Scoped Write Transaction
class DittoScopedWriteTransaction(baseTransaction: DittoWriteTransaction, collectionName: String)
Content copied to clipboard
DittoScopedWriteTransaction exposes functionality that allows you to perform multiple operations on the store within a single write transaction.
Constructors
DittoScopedWriteTransaction
Link copied to clipboard
fun DittoScopedWriteTransaction(baseTransaction: DittoWriteTransaction, collectionName: String)
Content copied to clipboard
Functions
find
Link copied to clipboard
Generates a DittoWriteTransactionPendingCursorOperation with the provided query that can be used to update, remove, or evict documents.
Generates a DittoWriteTransactionPendingCursorOperation with the provided query that can be used to update, remove, or evict documents.
findAll
Link copied to clipboard
Generates a DittoWriteTransactionPendingCursorOperation that can be used to update, remove or evict documents.
findByID
Link copied to clipboard
fun findByID(id: DittoDocumentID): DittoWriteTransactionPendingIDSpecificOperation
Content copied to clipboard
Generates a DittoWriteTransactionPendingIDSpecificOperation with the provided document ID that can be used to update, remove, or evict the document.
insert
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
insertWithStrategy
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
Properties
collectionName
Link copied to clipboard