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

build() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  756ae2c3_1a59_2888_268f_0ac89dd6f49f["build()"]
  99961ca0_eea8_f3b5_2636_973c53c96f6e["PgPointObjectBuilder"]
  756ae2c3_1a59_2888_268f_0ac89dd6f49f -->|defined in| 99961ca0_eea8_f3b5_2636_973c53c96f6e
  style 756ae2c3_1a59_2888_268f_0ac89dd6f49f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/point.ts lines 77–84

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

Analyze Your Own Codebase

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

Try Supermodel Free