Notification

data class Notification(val channel: String, val value: ResultSet.Row.Column)

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: ResultSet.Row.Column)

Properties

Link copied to clipboard

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

Link copied to clipboard

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