PostgresAction

Represents a postgres action

Inheritors

Types

Link copied to clipboard
data class Delete(val oldRecord: JsonObject, val columns: List<Column>, val commitTimestamp: Instant, val serializer: SupabaseSerializer) : PostgresAction, HasOldRecord

Represents a postgres delete action

Link copied to clipboard
data class Insert(val record: JsonObject, val columns: List<Column>, val commitTimestamp: Instant, val serializer: SupabaseSerializer) : PostgresAction, HasRecord

Represents a postgres insert action

Link copied to clipboard
data class Select(val record: JsonObject, val columns: List<Column>, val commitTimestamp: Instant, val serializer: SupabaseSerializer) : PostgresAction, HasRecord

Represents a postgres select action

Link copied to clipboard
data class Update(val record: JsonObject, val oldRecord: JsonObject, val columns: List<Column>, val commitTimestamp: Instant, val serializer: SupabaseSerializer) : PostgresAction, HasRecord, HasOldRecord

Represents a postgres update action

Properties

Link copied to clipboard
abstract val columns: List<Column>

Contains data of the row's columns

Link copied to clipboard
abstract val commitTimestamp: Instant

The time when the action was committed

Link copied to clipboard