CrudEntry

data class CrudEntry(val id: String, val clientId: Int, val op: UpdateType, val table: String, val transactionId: Int?, val metadata: String? = null, val opData: Map<String, String?>?, val previousValues: Map<String, String?>? = null)

A single client-side change.

Constructors

Link copied to clipboard
constructor(id: String, clientId: Int, op: UpdateType, table: String, transactionId: Int?, metadata: String? = null, opData: Map<String, String?>?, previousValues: Map<String, String?>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Auto-incrementing client-side id.

Link copied to clipboard
val id: String

ID of the changed row.

Link copied to clipboard
val metadata: String? = null

User-defined metadata that can be attached to writes.

Link copied to clipboard

Type of change.

Link copied to clipboard

Data associated with the change.

Link copied to clipboard

Previous values before this change.

Link copied to clipboard

Table that contained the change.

Link copied to clipboard

Auto-incrementing transaction id. This is the same for all operations within the same transaction.

Functions

Link copied to clipboard
open override fun toString(): String