Index Class — drizzle-orm Architecture
Architecture documentation for the Index class in indexes.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 2e349cf1_3a78_20c7_ee33_11b43df1effa["Index"] a406baef_d8bd_9bc9_efcd_e7c1450622b0["indexes.ts"] 2e349cf1_3a78_20c7_ee33_11b43df1effa -->|defined in| a406baef_d8bd_9bc9_efcd_e7c1450622b0 37532e3a_1e46_8ad9_7f67_8cae1a5a076d["constructor()"] 2e349cf1_3a78_20c7_ee33_11b43df1effa -->|method| 37532e3a_1e46_8ad9_7f67_8cae1a5a076d
Relationship Graph
Source Code
drizzle-orm/src/pg-core/indexes.ts lines 231–239
export class Index {
static readonly [entityKind]: string = 'PgIndex';
readonly config: IndexConfig & { table: PgTable };
constructor(config: IndexConfig, table: PgTable) {
this.config = { ...config, table };
}
}
Domain
Defined In
Source
Frequently Asked Questions
What is the Index class?
Index is a class in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/indexes.ts.
Where is Index defined?
Index is defined in drizzle-orm/src/pg-core/indexes.ts at line 231.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free