Ditto Transaction
class DittoTransaction
Represents a transaction in the Ditto store.
A DittoTransaction is used to group multiple operations into a single atomic unit. This ensures that either all operations within the transaction are applied, or none of them are, maintaining the integrity of the data.
Please consult the documentation of DittoStore.transaction for more information on how to create and use transactions. For a complete guide on transactions, please refer to the Ditto documentation.
See also
Functions
Link copied to clipboard
suspend fun execute(query: String, arguments: DittoCborSerializable.Dictionary = DittoCborSerializable.Dictionary()): DittoQueryResult