Home / Function/ build() — drizzle-orm Function Reference

build() — drizzle-orm Function Reference

Architecture documentation for the build() function in real.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  4551d066_1d87_bc74_d1bc_d7360e361e41["build()"]
  28fd26c7_d58f_3908_332a_f2470f632782["GelRealBuilder"]
  4551d066_1d87_bc74_d1bc_d7360e361e41 -->|defined in| 28fd26c7_d58f_3908_332a_f2470f632782
  style 4551d066_1d87_bc74_d1bc_d7360e361e41 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel-core/columns/real.ts lines 28–32

	override build<TTableName extends string>(
		table: AnyGelTable<{ name: TTableName }>,
	): GelReal<MakeColumnConfig<T, TTableName>> {
		return new GelReal<MakeColumnConfig<T, TTableName>>(table, this.config as ColumnBuilderRuntimeConfig<any, any>);
	}

Domain

Subdomains

Frequently Asked Questions

What does build() do?
build() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/gel-core/columns/real.ts.
Where is build() defined?
build() is defined in drizzle-orm/src/gel-core/columns/real.ts at line 28.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free