getSQLType() — drizzle-orm Function Reference
Architecture documentation for the getSQLType() function in time.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD a3fa3796_367a_c5c3_524d_2119b83ede94["getSQLType()"] 75a3e234_f226_bbda_a99e_9ec5680b4086["PgTime"] a3fa3796_367a_c5c3_524d_2119b83ede94 -->|defined in| 75a3e234_f226_bbda_a99e_9ec5680b4086 8a373000_0682_2557_a5cd_b89d3330ea51["getSQLType()"] a3fa3796_367a_c5c3_524d_2119b83ede94 -->|calls| 8a373000_0682_2557_a5cd_b89d3330ea51 style a3fa3796_367a_c5c3_524d_2119b83ede94 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/columns/time.ts lines 55–58
getSQLType(): string {
const precision = this.precision === undefined ? '' : `(${this.precision})`;
return `time${precision}${this.withTimezone ? ' with time zone' : ''}`;
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does getSQLType() do?
getSQLType() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/columns/time.ts.
Where is getSQLType() defined?
getSQLType() is defined in drizzle-orm/src/pg-core/columns/time.ts at line 55.
What does getSQLType() call?
getSQLType() calls 1 function(s): getSQLType.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free