HasOldRecord

Represents a postgres action, containing an old record.

Inheritors

Properties

Link copied to clipboard
abstract val oldRecord: JsonObject

The old record, if the action has one

Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T : Any> HasOldRecord.decodeOldRecord(): T

Decodes HasOldRecord.oldRecord as T and returns it

Link copied to clipboard

Decodes HasOldRecord.oldRecord as T and returns it or returns null when it cannot be decoded as T