Home / Class/ GelBigInt64 Class — drizzle-orm Architecture

GelBigInt64 Class — drizzle-orm Architecture

Architecture documentation for the GelBigInt64 class in bigintT.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  7cb06a8d_ea83_b31b_7db4_3dd3e3d71743["GelBigInt64"]
  e5c9b8ef_d760_345f_c691_226de7d20135["bigintT.ts"]
  7cb06a8d_ea83_b31b_7db4_3dd3e3d71743 -->|defined in| e5c9b8ef_d760_345f_c691_226de7d20135
  29c54500_27d3_05b9_5d7c_544be86a9626["getSQLType()"]
  7cb06a8d_ea83_b31b_7db4_3dd3e3d71743 -->|method| 29c54500_27d3_05b9_5d7c_544be86a9626
  22b45e8a_2c48_d9a6_c39c_48f4128b9a59["mapFromDriverValue()"]
  7cb06a8d_ea83_b31b_7db4_3dd3e3d71743 -->|method| 22b45e8a_2c48_d9a6_c39c_48f4128b9a59

Relationship Graph

Source Code

drizzle-orm/src/gel-core/columns/bigintT.ts lines 37–47

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

	getSQLType(): string {
		return 'edgedbt.bigint_t';
	}

	override mapFromDriverValue(value: string): bigint {
		return BigInt(value as string); // TODO ts error if remove 'as string'
	}
}

Domain

Frequently Asked Questions

What is the GelBigInt64 class?
GelBigInt64 is a class in the drizzle-orm codebase, defined in drizzle-orm/src/gel-core/columns/bigintT.ts.
Where is GelBigInt64 defined?
GelBigInt64 is defined in drizzle-orm/src/gel-core/columns/bigintT.ts at line 37.

Analyze Your Own Codebase

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

Try Supermodel Free