Home / Class/ PgBigInt64 Class — drizzle-orm Architecture

PgBigInt64 Class — drizzle-orm Architecture

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

Entity Profile

Dependency Diagram

graph TD
  b75dd489_c007_5bdf_7daa_e62a84b2bf4e["PgBigInt64"]
  9e45dd50_595c_fce2_0195_02a2865c70ed["bigint.ts"]
  b75dd489_c007_5bdf_7daa_e62a84b2bf4e -->|defined in| 9e45dd50_595c_fce2_0195_02a2865c70ed
  14a3d65b_6e5e_4c5b_b981_eeb44a91bfb5["getSQLType()"]
  b75dd489_c007_5bdf_7daa_e62a84b2bf4e -->|method| 14a3d65b_6e5e_4c5b_b981_eeb44a91bfb5
  c9864488_9170_ce0f_04b7_fe404c6c386e["mapFromDriverValue()"]
  b75dd489_c007_5bdf_7daa_e62a84b2bf4e -->|method| c9864488_9170_ce0f_04b7_fe404c6c386e

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/bigint.ts lines 80–91

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

	getSQLType(): string {
		return 'bigint';
	}

	// eslint-disable-next-line unicorn/prefer-native-coercion-functions
	override mapFromDriverValue(value: string): bigint {
		return BigInt(value);
	}
}

Domain

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free