PgNotification

data class PgNotification(val channel: String, val payload: String?, val pid: Int)

Represents a notification received from a PostgreSQL NOTIFY command.

Parameters

channel

Name of the channel the notification was sent to.

payload

Optional payload string sent with the notification. null if no payload was provided.

pid

Process ID of the PostgreSQL backend that sent the notification.

Constructors

Link copied to clipboard
constructor(channel: String, payload: String?, pid: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val pid: Int