Notification

data class Notification(val channel: String, val value: <Error class: unknown class>)

Represents a notification received from a PostgreSQL listen/notify channel.

A Notification object contains details about a notification event that has been listened to via the PostgreSQL listen/notify mechanism. It holds the associated channel and the actual value of the notification payload.

Constructors

Link copied to clipboard
constructor(channel: String, value: <Error class: unknown class>)

Properties

Link copied to clipboard

The name of the PostgreSQL channel from which the notification was received.

Link copied to clipboard
val value: <Error class: unknown class>

The payload of the notification represented as a column of a result set.