Skip to content

DbNotificationPg

do- edited this page Jul 17, 2024 · 5 revisions

DbNotificationPg is a class representing a PostgreSQL notification which payload may be a JSON serialization of an Object value.

Properties

Name Description Notes
processId PostgreSQL process ID copied from the raw object
channel Channel name copied from the raw object
payload The payload received copied from the raw object
isJSON is payload parseable as JSON Object calculated property
json if isJSON, the parsed payload, otherwise, undefined calculated property

Clone this wiki locally