Skip to content

getTableName

getTableName(table): string

Defined in: packages/permissions/src/types.ts:27

Extracts the table name string from a Drizzle table reference.

object

A Drizzle table object containing the drizzle:Name symbol.

string

The table name, or "unknown" if the symbol is not present.