Skip to content

ServerProjectionSpec

Defined in: packages/contracts/src/config.ts:590

Server-side projection applied on the read egress path. This is server authority, not client shape — it never alters the local pgwasm schema or the shape definition — so it lives apart from ClientProjectionSpec (ADR-0004).

optional rowTransform?: RowTransform

Defined in: packages/contracts/src/config.ts:597

Optional per-row rewrite applied on the read egress path. Runs before column omission, so it may read a column (e.g. a control flag) that clientProjection.omitColumns then removes from the client-visible row. See RowTransform.