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 79b95b8c_db63_3d63_d776_c23b3d959eb8["constructor()"] 4f5fe09d_9969_16cf_82e1_3831babdbea6["PgEnumObjectColumn"] 79b95b8c_db63_3d63_d776_c23b3d959eb8 -->|defined in| 4f5fe09d_9969_16cf_82e1_3831babdbea6 style 79b95b8c_db63_3d63_d776_c23b3d959eb8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/columns/enum.ts lines 60–66
constructor(
table: AnyPgTable<{ name: T['tableName'] }>,
config: PgEnumObjectColumnBuilder<T>['config'],
) {
super(table, config);
this.enum = config.enum;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does constructor() do?
constructor() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/columns/enum.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/pg-core/columns/enum.ts at line 60.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free