Skip to content

AllMutationsView

AllMutationsView = typeof allMutationsShape

Defined in: packages/client/src/local-tables.ts:609

The registry-wide pgxsinkit_all_mutations cross-journal view (slice 4) as a runtime Drizzle object. Its columns are the fixed journal columns (typed) plus the table_key registry-key literal — no per-table PK columns, no payload. Unlike the other view factories this is schema-INDEPENDENT: the view is always emitted TEMP (it may reference pg_temp ephemeral journals), so it resolves bare via pg_temp/search_path regardless of the registry’s local schema — hence one memoized instance for every registry. The client.mutations.* API authors its summary/detail queries over THIS object (tier ①).