constructor() — drizzle-orm Function Reference
Architecture documentation for the constructor() function in indexes.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 1fb1e54c_c08c_88c7_e95d_4aba5b1cb55e["constructor()"] 5a25fdd1_f316_6702_af4d_9a37c66d3845["IndexBuilder"] 1fb1e54c_c08c_88c7_e95d_4aba5b1cb55e -->|defined in| 5a25fdd1_f316_6702_af4d_9a37c66d3845 025fa64c_1f4d_d211_84b5_d79138d9546c["constructor()"] 025fa64c_1f4d_d211_84b5_d79138d9546c -->|calls| 1fb1e54c_c08c_88c7_e95d_4aba5b1cb55e 025fa64c_1f4d_d211_84b5_d79138d9546c["constructor()"] 1fb1e54c_c08c_88c7_e95d_4aba5b1cb55e -->|calls| 025fa64c_1f4d_d211_84b5_d79138d9546c style 1fb1e54c_c08c_88c7_e95d_4aba5b1cb55e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/indexes.ts lines 194–208
constructor(
columns: Partial<IndexedColumn | SQL>[],
unique: boolean,
only: boolean,
name?: string,
method: string = 'btree',
) {
this.config = {
name,
columns,
unique,
only,
method,
};
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does constructor() do?
constructor() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/indexes.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/pg-core/indexes.ts at line 194.
What does constructor() call?
constructor() calls 1 function(s): constructor.
What calls constructor()?
constructor() is called by 1 function(s): constructor.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free