constructor() — drizzle-orm Function Reference
Architecture documentation for the constructor() function in enum.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 2023b173_afa9_6b7a_3f2c_6ae863d4369b["constructor()"] 1d3b2ba2_5e3e_8773_0dbd_abee5b0cecf9["MySqlEnumObjectColumnBuilder"] 2023b173_afa9_6b7a_3f2c_6ae863d4369b -->|defined in| 1d3b2ba2_5e3e_8773_0dbd_abee5b0cecf9 34ebf712_db4e_9846_34d1_5c35a9f98b1a["constructor()"] 34ebf712_db4e_9846_34d1_5c35a9f98b1a -->|calls| 2023b173_afa9_6b7a_3f2c_6ae863d4369b 34ebf712_db4e_9846_34d1_5c35a9f98b1a["constructor()"] 2023b173_afa9_6b7a_3f2c_6ae863d4369b -->|calls| 34ebf712_db4e_9846_34d1_5c35a9f98b1a style 2023b173_afa9_6b7a_3f2c_6ae863d4369b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/mysql-core/columns/enum.ts lines 68–71
constructor(name: T['name'], values: T['enumValues']) {
super(name, 'string', 'MySqlEnumObjectColumn');
this.config.enumValues = values;
}
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/mysql-core/columns/enum.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/mysql-core/columns/enum.ts at line 68.
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