Skip to content

@sqlrooms/duckdb-core / getTableIdentity

Function: getTableIdentity()

getTableIdentity(table): TableIdentity

Returns the canonical persisted SQLRooms table identity for a resolved table.

Use this for saved state, lookup keys, cache keys, and selected-table state. Rehydrate JSON/Zod/tool strings with parseTableIdentity(...) or resolve them against the catalog before treating them as identities.

Parameters

ParameterType
tableQualifiedTableName

Returns

TableIdentity