Home / Class/ MySqlBigInt64Builder Class — drizzle-orm Architecture

MySqlBigInt64Builder Class — drizzle-orm Architecture

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

Entity Profile

Dependency Diagram

graph TD
  d9f4dc1c_2ea0_041a_4df7_6f50af42332a["MySqlBigInt64Builder"]
  b668ec7c_3eec_efd8_a611_2f2f76754bfd["bigint.ts"]
  d9f4dc1c_2ea0_041a_4df7_6f50af42332a -->|defined in| b668ec7c_3eec_efd8_a611_2f2f76754bfd
  446f7797_06b6_2495_9725_d29c9a92b861["constructor()"]
  d9f4dc1c_2ea0_041a_4df7_6f50af42332a -->|method| 446f7797_06b6_2495_9725_d29c9a92b861
  75459ddd_22f7_dfdc_779e_0dadcb75b252["build()"]
  d9f4dc1c_2ea0_041a_4df7_6f50af42332a -->|method| 75459ddd_22f7_dfdc_779e_0dadcb75b252

Relationship Graph

Source Code

drizzle-orm/src/mysql-core/columns/bigint.ts lines 64–83

export class MySqlBigInt64Builder<T extends ColumnBuilderBaseConfig<'bigint', 'MySqlBigInt64'>>
	extends MySqlColumnBuilderWithAutoIncrement<T, { unsigned: boolean }>
{
	static override readonly [entityKind]: string = 'MySqlBigInt64Builder';

	constructor(name: T['name'], unsigned: boolean = false) {
		super(name, 'bigint', 'MySqlBigInt64');
		this.config.unsigned = unsigned;
	}

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

Domain

Frequently Asked Questions

What is the MySqlBigInt64Builder class?
MySqlBigInt64Builder is a class in the drizzle-orm codebase, defined in drizzle-orm/src/mysql-core/columns/bigint.ts.
Where is MySqlBigInt64Builder defined?
MySqlBigInt64Builder is defined in drizzle-orm/src/mysql-core/columns/bigint.ts at line 64.

Analyze Your Own Codebase

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

Try Supermodel Free