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

build() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  7aad4b6b_6802_dbd7_27c0_a441db9a35e4["build()"]
  08243fdb_3dc2_b239_6b9b_1f6aa8b95ee7["CheckBuilder"]
  7aad4b6b_6802_dbd7_27c0_a441db9a35e4 -->|defined in| 08243fdb_3dc2_b239_6b9b_1f6aa8b95ee7
  style 7aad4b6b_6802_dbd7_27c0_a441db9a35e4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/checks.ts lines 13–15

	build(table: PgTable): Check {
		return new Check(table, this);
	}

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

Analyze Your Own Codebase

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

Try Supermodel Free