build() — drizzle-orm Function Reference
Architecture documentation for the build() function in smallint.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD b1906816_5c5e_aef1_2ead_af171fe4c905["build()"] 07a71206_1e0f_a396_4273_b991bd532bd2["PgSmallIntBuilder"] b1906816_5c5e_aef1_2ead_af171fe4c905 -->|defined in| 07a71206_1e0f_a396_4273_b991bd532bd2 style b1906816_5c5e_aef1_2ead_af171fe4c905 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/columns/smallint.ts lines 27–31
override build<TTableName extends string>(
table: AnyPgTable<{ name: TTableName }>,
): PgSmallInt<MakeColumnConfig<T, TTableName>> {
return new PgSmallInt<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/smallint.ts.
Where is build() defined?
build() is defined in drizzle-orm/src/pg-core/columns/smallint.ts at line 27.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free