constructor() — drizzle-orm Function Reference
Architecture documentation for the constructor() function in foreign-keys.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD f1d2010f_29f2_99c0_88e8_a6f43b87a9a7["constructor()"] e14e02a6_4273_1b91_e67d_8b5bbffd1bcc["ForeignKey"] f1d2010f_29f2_99c0_88e8_a6f43b87a9a7 -->|defined in| e14e02a6_4273_1b91_e67d_8b5bbffd1bcc 7d116062_7545_b31c_bcfe_ddad94093ae9["constructor()"] 7d116062_7545_b31c_bcfe_ddad94093ae9 -->|calls| f1d2010f_29f2_99c0_88e8_a6f43b87a9a7 7d116062_7545_b31c_bcfe_ddad94093ae9["constructor()"] f1d2010f_29f2_99c0_88e8_a6f43b87a9a7 -->|calls| 7d116062_7545_b31c_bcfe_ddad94093ae9 style f1d2010f_29f2_99c0_88e8_a6f43b87a9a7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/sqlite-core/foreign-keys.ts lines 76–80
constructor(readonly table: SQLiteTable, builder: ForeignKeyBuilder) {
this.reference = builder.reference;
this.onUpdate = builder._onUpdate;
this.onDelete = builder._onDelete;
}
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/sqlite-core/foreign-keys.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/sqlite-core/foreign-keys.ts at line 76.
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