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 075bb06b_5f58_ce0a_ebea_a0f751ecdc10["build()"] 772c8dee_cc52_cece_42d8_fdda98f15809["PgTimestampStringBuilder"] 075bb06b_5f58_ce0a_ebea_a0f751ecdc10 -->|defined in| 772c8dee_cc52_cece_42d8_fdda98f15809 style 075bb06b_5f58_ce0a_ebea_a0f751ecdc10 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/columns/timestamp.ts lines 100–107
override build<TTableName extends string>(
table: AnyPgTable<{ name: TTableName }>,
): PgTimestampString<MakeColumnConfig<T, TTableName>> {
return new PgTimestampString<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 100.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free