HasRecord

Represents a postgres action, containing a record.

Inheritors

Properties

Link copied to clipboard
abstract val record: JsonObject

The new record, if the action has one

Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T : Any> HasRecord.decodeRecord(): T

Decodes HasRecord.record as T and returns it

Link copied to clipboard
inline fun <T : Any> HasRecord.decodeRecordOrNull(): T?

Decodes HasRecord.record as T and returns it or returns null when it cannot be decoded as T