Home / Type/ ColumnsWithTable Type — drizzle-orm Architecture

ColumnsWithTable Type — drizzle-orm Architecture

Architecture documentation for the ColumnsWithTable type/interface in utils.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  9173a271_a5ea_fb9e_7cfe_651ccc3e262c["ColumnsWithTable"]
  9cb8488e_0ece_edef_af6a_5851d56cddda["utils.ts"]
  9173a271_a5ea_fb9e_7cfe_651ccc3e262c -->|defined in| 9cb8488e_0ece_edef_af6a_5851d56cddda
  style 9173a271_a5ea_fb9e_7cfe_651ccc3e262c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel-core/utils.ts lines 100–104

export type ColumnsWithTable<
	TTableName extends string,
	TForeignTableName extends string,
	TColumns extends AnyGelColumn<{ tableName: TTableName }>[],
> = { [Key in keyof TColumns]: AnyGelColumn<{ tableName: TForeignTableName }> };

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/utils.ts.
Where is ColumnsWithTable defined?
ColumnsWithTable is defined in drizzle-orm/src/gel-core/utils.ts at line 100.

Analyze Your Own Codebase

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

Try Supermodel Free