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

build() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  45461262_96f0_1d40_22f0_d5be2b5732ea["build()"]
  5a25fdd1_f316_6702_af4d_9a37c66d3845["IndexBuilder"]
  45461262_96f0_1d40_22f0_d5be2b5732ea -->|defined in| 5a25fdd1_f316_6702_af4d_9a37c66d3845
  style 45461262_96f0_1d40_22f0_d5be2b5732ea fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/indexes.ts lines 226–228

	build(table: PgTable): Index {
		return new Index(this.config, table);
	}

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/indexes.ts.
Where is build() defined?
build() is defined in drizzle-orm/src/pg-core/indexes.ts at line 226.

Analyze Your Own Codebase

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

Try Supermodel Free