ColumnsWithTable Type — drizzle-orm Architecture
Architecture documentation for the ColumnsWithTable type/interface in foreign-keys.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD c8cd73b6_1245_b4ba_1a52_766560c1bf2b["ColumnsWithTable"] fe0bf683_1731_529c_f1b4_81cc9db56955["foreign-keys.ts"] c8cd73b6_1245_b4ba_1a52_766560c1bf2b -->|defined in| fe0bf683_1731_529c_f1b4_81cc9db56955 style c8cd73b6_1245_b4ba_1a52_766560c1bf2b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/gel-core/foreign-keys.ts lines 93–96
type ColumnsWithTable<
TTableName extends string,
TColumns extends GelColumn[],
> = { [Key in keyof TColumns]: AnyGelColumn<{ tableName: TTableName }> };
Defined In
Source
Frequently Asked Questions
What is the ColumnsWithTable type?
ColumnsWithTable is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/gel-core/foreign-keys.ts.
Where is ColumnsWithTable defined?
ColumnsWithTable is defined in drizzle-orm/src/gel-core/foreign-keys.ts at line 93.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free