data PG::Notification

A NOTIFY on a channel the connection listens to (PG::Connection#listen): the channel, the payload ("" when none was given) and the server process that sent it (PG::Connection#process_id on the notifier's side).

src/connection.qz:74

Methods

def to_h -> Hash[Symbol, Object]

The fields as a Hash, by name.

src/connection.qz:74

def with(*, channel: String = …, payload: String = …, process_id: Int = …) -> PG::Notification

A copy with the fields given replaced.

src/connection.qz:74

def channel -> String

src/connection.qz:74

def payload -> String

src/connection.qz:74

def process_id -> Int

src/connection.qz:74