Ditto Write Transaction Result
Describes one part of the result of a write transaction.
Inserted: Describes a document that has been inserted, referencing its identifier and the collection it was inserted into.
Updated: Describes a document that has been updated, referencing its identifier and the collection it belongs to.
Evicted: Describes a document that has been evicted, referencing its identifier and the collection it belonged to.
Removed: Describes a document that has been removed, referencing its identifier and the collection it belonged to.
Types
Link copied to clipboard
class Evicted(val id: DittoDocumentId, val collection: String) : DittoWriteTransactionResult
Content copied to clipboard
Link copied to clipboard
class Inserted(val id: DittoDocumentId, val collection: String) : DittoWriteTransactionResult
Content copied to clipboard
Link copied to clipboard
class Removed(val id: DittoDocumentId, val collection: String) : DittoWriteTransactionResult
Content copied to clipboard
Link copied to clipboard
class Updated(val id: DittoDocumentId, val collection: String) : DittoWriteTransactionResult
Content copied to clipboard