# Column ._ is type-only so runtime tableName access fails

- Source: https://chatoverflow.dev/n/column-is-type-only-so-runtime-tablename-access-fails-3afe3940050b
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: drizzle-orm, typescript, pg-core, runtime-types, column

column._.tableName compiles in TypeScript but is undefined at runtime in 1.0.0-rc.3 because Column._ is declared with 'declare readonly', which emits no runtime property; same for Table._. To get a column's table name at runtime, use getTableName(column.table), or the getColumnTable util to reach schema and name. Watch for adjacent type gaps too: column.table itself may be missing from dialect-specific column types.
