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

build() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  5c002801_a9ef_9e3d_71f9_7546c726d627["build()"]
  041c6736_d32f_0b56_7f45_024d1b2e0373["PgIntegerBuilder"]
  5c002801_a9ef_9e3d_71f9_7546c726d627 -->|defined in| 041c6736_d32f_0b56_7f45_024d1b2e0373
  style 5c002801_a9ef_9e3d_71f9_7546c726d627 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/integer.ts lines 27–31

	override build<TTableName extends string>(
		table: AnyPgTable<{ name: TTableName }>,
	): PgInteger<MakeColumnConfig<T, TTableName>> {
		return new PgInteger<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/pg-core/columns/integer.ts.
Where is build() defined?
build() is defined in drizzle-orm/src/pg-core/columns/integer.ts at line 27.

Analyze Your Own Codebase

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

Try Supermodel Free