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

build() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  8b9d85d8_040a_b573_d53c_9d0e41610ed1["build()"]
  9ee6a748_c5df_6d4c_299e_02e0ab16d32e["GelBooleanBuilder"]
  8b9d85d8_040a_b573_d53c_9d0e41610ed1 -->|defined in| 9ee6a748_c5df_6d4c_299e_02e0ab16d32e
  style 8b9d85d8_040a_b573_d53c_9d0e41610ed1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel-core/columns/boolean.ts lines 24–28

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

Analyze Your Own Codebase

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

Try Supermodel Free