DittoWriteTransactionResult

sealed class DittoWriteTransactionResult

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.

Constructors

Link copied to clipboard
protected fun DittoWriteTransactionResult()

Types

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

Inheritors

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