Home / Class/ PgBigInt64Builder Class — drizzle-orm Architecture

PgBigInt64Builder Class — drizzle-orm Architecture

Architecture documentation for the PgBigInt64Builder class in bigint.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  fa54cacf_34f1_6e2e_df16_9bd282044039["PgBigInt64Builder"]
  9e45dd50_595c_fce2_0195_02a2865c70ed["bigint.ts"]
  fa54cacf_34f1_6e2e_df16_9bd282044039 -->|defined in| 9e45dd50_595c_fce2_0195_02a2865c70ed
  b0544b1e_7b91_cfcd_076a_efbf750df325["constructor()"]
  fa54cacf_34f1_6e2e_df16_9bd282044039 -->|method| b0544b1e_7b91_cfcd_076a_efbf750df325
  2bdfe891_9344_e711_465c_e0adb22072b7["build()"]
  fa54cacf_34f1_6e2e_df16_9bd282044039 -->|method| 2bdfe891_9344_e711_465c_e0adb22072b7

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/bigint.ts lines 60–78

export class PgBigInt64Builder<T extends ColumnBuilderBaseConfig<'bigint', 'PgBigInt64'>>
	extends PgIntColumnBaseBuilder<T>
{
	static override readonly [entityKind]: string = 'PgBigInt64Builder';

	constructor(name: T['name']) {
		super(name, 'bigint', 'PgBigInt64');
	}

	/** @internal */
	override build<TTableName extends string>(
		table: AnyPgTable<{ name: TTableName }>,
	): PgBigInt64<MakeColumnConfig<T, TTableName>> {
		return new PgBigInt64<MakeColumnConfig<T, TTableName>>(
			table,
			this.config as ColumnBuilderRuntimeConfig<any, any>,
		);
	}
}

Domain

Frequently Asked Questions

What is the PgBigInt64Builder class?
PgBigInt64Builder is a class in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/columns/bigint.ts.
Where is PgBigInt64Builder defined?
PgBigInt64Builder is defined in drizzle-orm/src/pg-core/columns/bigint.ts at line 60.

Analyze Your Own Codebase

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

Try Supermodel Free