DittoWriteTransactionResult

sealed class DittoWriteTransactionResult

Describes one part of the result of a write transaction.

  • Inserted: Describes a document that has been inserted, referencing its ID and the collection it was inserted into.

  • Updated: Describes a document that has been updated, referencing its ID and the collection it belongs to.

  • Evicted: Describes a document that has been evicted, referencing its ID and the collection it belonged to.

  • Removed: Describes a document that has been removed, referencing its ID and the collection it belonged to.

Types

Evicted
Link copied to clipboard
class Evicted(id: DittoDocumentID, collection: String) : DittoWriteTransactionResult
Inserted
Link copied to clipboard
class Inserted(id: DittoDocumentID, collection: String) : DittoWriteTransactionResult
Removed
Link copied to clipboard
class Removed(id: DittoDocumentID, collection: String) : DittoWriteTransactionResult
Updated
Link copied to clipboard
class Updated(id: DittoDocumentID, collection: String) : DittoWriteTransactionResult

Inheritors

DittoWriteTransactionResult
Link copied to clipboard
DittoWriteTransactionResult
Link copied to clipboard
DittoWriteTransactionResult
Link copied to clipboard
DittoWriteTransactionResult
Link copied to clipboard