Skip to content

ReadModelView

ReadModelView<TEntry> = PgViewWithSelection<{ existing: true; isAlias: false; name: string; schema: string | undefined; selectedFields: EntryColumns<TEntry> & ReadModelFixedColumns; }>

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

The <t>_read_model overlay-merged read view (ADR-0004): the entry’s PROJECTED columns under their property keys plus the two fixed overlay columns (overlay_kind, local_updated_at_us). Read through a live query, so local_updated_at_us is an int8 mode: "bigint" column.

TEntry = SyncTableEntry