# ChannelPayload interface · @imqueue/pg-cache

Source: https://imqueue.org/api/pg-cache/latest/pg-cache.channelpayload/
Published: 2026-08-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-cache 5.0.6 — generated reference, not hand-written

Payload delivered on a table's notification channel by the installed trigger, describing a single row change.

**Signature:**

```typescript
export interface ChannelPayload 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [operation](https://imqueue.org/api/pg-cache/latest/pg-cache.channelpayload.operation/) |  | [ChannelOperation](https://imqueue.org/api/pg-cache/latest/pg-cache.channeloperation/) | Which row-level operation fired the trigger. |
| [record](https://imqueue.org/api/pg-cache/latest/pg-cache.channelpayload.record/) |  | JsonObject | The changed row. `NEW` for inserts and updates, `OLD` for deletes, so this is always the row the change is about. |
| [schema](https://imqueue.org/api/pg-cache/latest/pg-cache.channelpayload.schema/) |  | string | PostgreSQL schema of the changed table. |
| [table](https://imqueue.org/api/pg-cache/latest/pg-cache.channelpayload.table/) |  | string | Name of the changed table — also the notification channel name. |
| [timestamp](https://imqueue.org/api/pg-cache/latest/pg-cache.channelpayload.timestamp/) |  | Date | When the change occurred. Arrives JSON-encoded and is revived into a `Date` before a [ChannelPayloadFilter](https://imqueue.org/api/pg-cache/latest/pg-cache.channelpayloadfilter/) sees it. |

