build() — drizzle-orm Function Reference
Architecture documentation for the build() function in timestamp.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD d4b19d82_419d_cf5f_9ca1_89ebf45a7000["build()"] fc2dca00_ffd1_2ad0_dbc3_86e3df723059["PgTimestampBuilder"] d4b19d82_419d_cf5f_9ca1_89ebf45a7000 -->|defined in| fc2dca00_ffd1_2ad0_dbc3_86e3df723059 style d4b19d82_419d_cf5f_9ca1_89ebf45a7000 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/columns/timestamp.ts lines 37–41
override build<TTableName extends string>(
table: AnyPgTable<{ name: TTableName }>,
): PgTimestamp<MakeColumnConfig<T, TTableName>> {
return new PgTimestamp<MakeColumnConfig<T, TTableName>>(table, this.config as ColumnBuilderRuntimeConfig<any, any>);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does build() do?
build() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/columns/timestamp.ts.
Where is build() defined?
build() is defined in drizzle-orm/src/pg-core/columns/timestamp.ts at line 37.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free