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

build() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  49efd65f_d388_a3d9_ac05_64fccf69346a["build()"]
  36c39be2_5cc7_512a_3ffc_9fd7b35ec192["GelTimestampTzBuilder"]
  49efd65f_d388_a3d9_ac05_64fccf69346a -->|defined in| 36c39be2_5cc7_512a_3ffc_9fd7b35ec192
  style 49efd65f_d388_a3d9_ac05_64fccf69346a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel-core/columns/timestamptz.ts lines 31–38

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

Analyze Your Own Codebase

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

Try Supermodel Free