Home / Type/ GetColumnsTableName Type — drizzle-orm Architecture

GetColumnsTableName Type — drizzle-orm Architecture

Architecture documentation for the GetColumnsTableName type/interface in indexes.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  ea036b18_ed41_3d93_10fa_ea894fca1a8c["GetColumnsTableName"]
  a406baef_d8bd_9bc9_efcd_e7c1450622b0["indexes.ts"]
  ea036b18_ed41_3d93_10fa_ea894fca1a8c -->|defined in| a406baef_d8bd_9bc9_efcd_e7c1450622b0
  style ea036b18_ed41_3d93_10fa_ea894fca1a8c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/indexes.ts lines 241–243

export type GetColumnsTableName<TColumns> = TColumns extends PgColumn ? TColumns['_']['name']
	: TColumns extends PgColumn[] ? TColumns[number]['_']['name']
	: never;

Frequently Asked Questions

What is the GetColumnsTableName type?
GetColumnsTableName is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/indexes.ts.
Where is GetColumnsTableName defined?
GetColumnsTableName is defined in drizzle-orm/src/pg-core/indexes.ts at line 241.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free