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 f387a3d2_a44a_1dd2_4fc5_d612c7c1ab49["time()"] c71d7e3c_17ef_e587_c432_28dddabb744c["time.ts"] f387a3d2_a44a_1dd2_4fc5_d612c7c1ab49 -->|defined in| c71d7e3c_17ef_e587_c432_28dddabb744c style f387a3d2_a44a_1dd2_4fc5_d612c7c1ab49 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/mysql-core/columns/time.ts lines 64–67
export function time(a?: string | TimeConfig, b?: TimeConfig) {
const { name, config } = getColumnNameAndConfig<TimeConfig>(a, b);
return new MySqlTimeBuilder(name, config);
}
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/mysql-core/columns/time.ts.
Where is time() defined?
time() is defined in drizzle-orm/src/mysql-core/columns/time.ts at line 64.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free