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

build() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2ebdb7df_101d_897f_3558_92b002b5dff3["build()"]
  03c079a7_fcda_96f4_a21a_36e6ef109dce["MySqlIntBuilder"]
  2ebdb7df_101d_897f_3558_92b002b5dff3 -->|defined in| 03c079a7_fcda_96f4_a21a_36e6ef109dce
  style 2ebdb7df_101d_897f_3558_92b002b5dff3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/mysql-core/columns/int.ts lines 28–32

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

Analyze Your Own Codebase

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

Try Supermodel Free