time() — drizzle-orm Function Reference
Architecture documentation for the time() function in time.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 9da1b65b_256c_da2f_882d_469d47176740["time()"] 7102357c_0ef2_b03e_a1a8_871e6fea8eac["time.ts"] 9da1b65b_256c_da2f_882d_469d47176740 -->|defined in| 7102357c_0ef2_b03e_a1a8_871e6fea8eac style 9da1b65b_256c_da2f_882d_469d47176740 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/columns/time.ts lines 69–72
export function time(a?: string | TimeConfig, b: TimeConfig = {}) {
const { name, config } = getColumnNameAndConfig<TimeConfig>(a, b);
return new PgTimeBuilder(name, config.withTimezone ?? false, config.precision);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does time() do?
time() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/columns/time.ts.
Where is time() defined?
time() is defined in drizzle-orm/src/pg-core/columns/time.ts at line 69.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free