ColumnsHandler Type — drizzle-orm Architecture
Architecture documentation for the ColumnsHandler type/interface in simulator.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 541a875f_3714_9a5a_4d60_2142ca7e8e0b["ColumnsHandler"] 76541fe4_0f6b_65f6_219e_1aaf98848155["simulator.ts"] 541a875f_3714_9a5a_4d60_2142ca7e8e0b -->|defined in| 76541fe4_0f6b_65f6_219e_1aaf98848155 style 541a875f_3714_9a5a_4d60_2142ca7e8e0b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-kit/src/simulator.ts lines 19–26
interface ColumnsHandler<T extends Named> {
can(tableName: string, added: T[], removed: T[]): boolean;
handle(
tableName: string,
added: T[],
removed: T[],
): { tableName: string; created: T[]; deleted: T[]; renamed: { from: T; to: T }[] };
}
Defined In
Source
Frequently Asked Questions
What is the ColumnsHandler type?
ColumnsHandler is a type/interface in the drizzle-orm codebase, defined in drizzle-kit/src/simulator.ts.
Where is ColumnsHandler defined?
ColumnsHandler is defined in drizzle-kit/src/simulator.ts at line 19.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free