build() — drizzle-orm Function Reference
Architecture documentation for the build() function in common.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 4f196b53_edb2_9f50_eb22_aa610b19aa19["build()"] df95a4aa_e7ab_e923_aa5e_677e0c7a8aac["GelArrayBuilder"] 4f196b53_edb2_9f50_eb22_aa610b19aa19 -->|defined in| df95a4aa_e7ab_e923_aa5e_677e0c7a8aac 28d60156_87df_8239_fdec_5d5862afc6e9["build()"] 4f196b53_edb2_9f50_eb22_aa610b19aa19 -->|calls| 28d60156_87df_8239_fdec_5d5862afc6e9 style 4f196b53_edb2_9f50_eb22_aa610b19aa19 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/gel-core/columns/common.ts lines 296–305
override build<TTableName extends string>(
table: AnyGelTable<{ name: TTableName }>,
): GelArray<MakeColumnConfig<T, TTableName> & { size: T['size']; baseBuilder: T['baseBuilder'] }, TBase> {
const baseColumn = this.config.baseBuilder.build(table);
return new GelArray<MakeColumnConfig<T, TTableName> & { size: T['size']; baseBuilder: T['baseBuilder'] }, TBase>(
table as AnyGelTable<{ name: MakeColumnConfig<T, TTableName>['tableName'] }>,
this.config as ColumnBuilderRuntimeConfig<any, any>,
baseColumn,
);
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does build() do?
build() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/gel-core/columns/common.ts.
Where is build() defined?
build() is defined in drizzle-orm/src/gel-core/columns/common.ts at line 296.
What does build() call?
build() calls 1 function(s): build.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free