on() — drizzle-orm Function Reference
Architecture documentation for the on() function in indexes.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 0a05605a_e9f3_f7f3_fc44_8c8d61c9ad75["on()"] 8b5edf8d_5557_e87f_95e6_f079074732f6["IndexBuilderOn"] 0a05605a_e9f3_f7f3_fc44_8c8d61c9ad75 -->|defined in| 8b5edf8d_5557_e87f_95e6_f079074732f6 style 0a05605a_e9f3_f7f3_fc44_8c8d61c9ad75 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/singlestore-core/indexes.ts lines 39–41
on(...columns: [IndexColumn, ...IndexColumn[]]): IndexBuilder {
return new IndexBuilder(this.name, columns, this.unique);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does on() do?
on() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/singlestore-core/indexes.ts.
Where is on() defined?
on() is defined in drizzle-orm/src/singlestore-core/indexes.ts at line 39.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free