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 698311e6_ba1a_d945_f6e5_adfcfb6b6b6b["on()"] 36264571_0709_3ad9_b11d_6a5ca640e459["IndexBuilderOn"] 698311e6_ba1a_d945_f6e5_adfcfb6b6b6b -->|defined in| 36264571_0709_3ad9_b11d_6a5ca640e459 style 698311e6_ba1a_d945_f6e5_adfcfb6b6b6b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/sqlite-core/indexes.ts lines 20–22
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/sqlite-core/indexes.ts.
Where is on() defined?
on() is defined in drizzle-orm/src/sqlite-core/indexes.ts at line 20.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free