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

build() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  97c82a36_063f_ab8a_2964_be1b96fdec97["build()"]
  3b0605db_5ee0_1308_c6f7_9fd05699cd07["PgBigSerial53Builder"]
  97c82a36_063f_ab8a_2964_be1b96fdec97 -->|defined in| 3b0605db_5ee0_1308_c6f7_9fd05699cd07
  style 97c82a36_063f_ab8a_2964_be1b96fdec97 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/bigserial.ts lines 39–46

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

Analyze Your Own Codebase

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

Try Supermodel Free