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 2a1b0141_c757_adbd_acdc_538fe2d453b7["constructor()"] 73e29a69_cd8c_3513_4994_53e49eddb654["ForeignKey"] 2a1b0141_c757_adbd_acdc_538fe2d453b7 -->|defined in| 73e29a69_cd8c_3513_4994_53e49eddb654 7b69d4ac_ec6e_2006_3fdf_59fc7b1d9171["constructor()"] 7b69d4ac_ec6e_2006_3fdf_59fc7b1d9171 -->|calls| 2a1b0141_c757_adbd_acdc_538fe2d453b7 7b69d4ac_ec6e_2006_3fdf_59fc7b1d9171["constructor()"] 2a1b0141_c757_adbd_acdc_538fe2d453b7 -->|calls| 7b69d4ac_ec6e_2006_3fdf_59fc7b1d9171 style 2a1b0141_c757_adbd_acdc_538fe2d453b7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/gel-core/foreign-keys.ts lines 73–77
constructor(readonly table: GelTable, 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/gel-core/foreign-keys.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/gel-core/foreign-keys.ts at line 73.
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