Home / Class/ SQLiteNumericBigIntBuilder Class — drizzle-orm Architecture

SQLiteNumericBigIntBuilder Class — drizzle-orm Architecture

Architecture documentation for the SQLiteNumericBigIntBuilder class in numeric.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  8117612f_e34d_885c_f92d_cd6ccd10f033["SQLiteNumericBigIntBuilder"]
  c5af0e66_056b_2390_c3e9_ff89afff460c["numeric.ts"]
  8117612f_e34d_885c_f92d_cd6ccd10f033 -->|defined in| c5af0e66_056b_2390_c3e9_ff89afff460c
  eab964b1_5966_32f6_7519_16abcb1f8d2a["constructor()"]
  8117612f_e34d_885c_f92d_cd6ccd10f033 -->|method| eab964b1_5966_32f6_7519_16abcb1f8d2a
  7b42d441_4e7e_0aed_e14e_bd28d50098cb["build()"]
  8117612f_e34d_885c_f92d_cd6ccd10f033 -->|method| 7b42d441_4e7e_0aed_e14e_bd28d50098cb

Relationship Graph

Source Code

drizzle-orm/src/sqlite-core/columns/numeric.ts lines 105–123

export class SQLiteNumericBigIntBuilder<T extends ColumnBuilderBaseConfig<'bigint', 'SQLiteNumericBigInt'>>
	extends SQLiteColumnBuilder<T>
{
	static override readonly [entityKind]: string = 'SQLiteNumericBigIntBuilder';

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

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

Domain

Frequently Asked Questions

What is the SQLiteNumericBigIntBuilder class?
SQLiteNumericBigIntBuilder is a class in the drizzle-orm codebase, defined in drizzle-orm/src/sqlite-core/columns/numeric.ts.
Where is SQLiteNumericBigIntBuilder defined?
SQLiteNumericBigIntBuilder is defined in drizzle-orm/src/sqlite-core/columns/numeric.ts at line 105.

Analyze Your Own Codebase

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

Try Supermodel Free