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

build() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  66069c36_c64b_49b5_b367_19312f7e742b["build()"]
  a26ff625_dd78_8e24_efb8_0c3218bfd5e6["PgNumericBigIntBuilder"]
  66069c36_c64b_49b5_b367_19312f7e742b -->|defined in| a26ff625_dd78_8e24_efb8_0c3218bfd5e6
  style 66069c36_c64b_49b5_b367_19312f7e742b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/numeric.ts lines 164–171

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

Analyze Your Own Codebase

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

Try Supermodel Free