constructor() — drizzle-orm Function Reference
Architecture documentation for the constructor() function in time.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 8c593f11_949b_84ce_89ed_9572aafaf86f["constructor()"] 75a3e234_f226_bbda_a99e_9ec5680b4086["PgTime"] 8c593f11_949b_84ce_89ed_9572aafaf86f -->|defined in| 75a3e234_f226_bbda_a99e_9ec5680b4086 98c2cee6_7e52_b391_1954_cc05abed0567["constructor()"] 98c2cee6_7e52_b391_1954_cc05abed0567 -->|calls| 8c593f11_949b_84ce_89ed_9572aafaf86f 98c2cee6_7e52_b391_1954_cc05abed0567["constructor()"] 8c593f11_949b_84ce_89ed_9572aafaf86f -->|calls| 98c2cee6_7e52_b391_1954_cc05abed0567 style 8c593f11_949b_84ce_89ed_9572aafaf86f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/columns/time.ts lines 49–53
constructor(table: AnyPgTable<{ name: T['tableName'] }>, config: PgTimeBuilder<T>['config']) {
super(table, config);
this.withTimezone = config.withTimezone;
this.precision = config.precision;
}
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/pg-core/columns/time.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/pg-core/columns/time.ts at line 49.
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