Skip to content

getOverlayTable

getOverlayTable<TRegistry, TKey>(registry, tableKey): OverlayTable<TRegistry[TKey]>

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

The <t>_overlay optimistic-intent table as a runtime Drizzle object (writable tables only — throws for a readonly entry, which has no overlay/journal projection). Its entity columns are typed exactly as OverlayTable describes — real per-column types under a concretely-typed registry, the open index-signature fallback under a bare SyncTableRegistry — plus the two fixed overlay columns.

TRegistry extends SyncTableRegistry

TKey extends string

TRegistry

TKey

OverlayTable<TRegistry[TKey]>