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

build() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2bdfe891_9344_e711_465c_e0adb22072b7["build()"]
  fa54cacf_34f1_6e2e_df16_9bd282044039["PgBigInt64Builder"]
  2bdfe891_9344_e711_465c_e0adb22072b7 -->|defined in| fa54cacf_34f1_6e2e_df16_9bd282044039
  style 2bdfe891_9344_e711_465c_e0adb22072b7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/bigint.ts lines 70–77

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

Analyze Your Own Codebase

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

Try Supermodel Free