MySqlBigInt64 Class — drizzle-orm Architecture
Architecture documentation for the MySqlBigInt64 class in bigint.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD fb6602f9_a717_e119_35e4_c3e1e84b6090["MySqlBigInt64"] b668ec7c_3eec_efd8_a611_2f2f76754bfd["bigint.ts"] fb6602f9_a717_e119_35e4_c3e1e84b6090 -->|defined in| b668ec7c_3eec_efd8_a611_2f2f76754bfd fd52bff6_3fee_fcfd_31a0_840447221f51["getSQLType()"] fb6602f9_a717_e119_35e4_c3e1e84b6090 -->|method| fd52bff6_3fee_fcfd_31a0_840447221f51 7e04f400_e2ae_882a_5f19_7f898bc0e085["mapFromDriverValue()"] fb6602f9_a717_e119_35e4_c3e1e84b6090 -->|method| 7e04f400_e2ae_882a_5f19_7f898bc0e085
Relationship Graph
Source Code
drizzle-orm/src/mysql-core/columns/bigint.ts lines 85–98
export class MySqlBigInt64<T extends ColumnBaseConfig<'bigint', 'MySqlBigInt64'>>
extends MySqlColumnWithAutoIncrement<T, { unsigned: boolean }>
{
static override readonly [entityKind]: string = 'MySqlBigInt64';
getSQLType(): string {
return `bigint${this.config.unsigned ? ' unsigned' : ''}`;
}
// eslint-disable-next-line unicorn/prefer-native-coercion-functions
override mapFromDriverValue(value: string): bigint {
return BigInt(value);
}
}
Domain
Defined In
Source
Frequently Asked Questions
What is the MySqlBigInt64 class?
MySqlBigInt64 is a class in the drizzle-orm codebase, defined in drizzle-orm/src/mysql-core/columns/bigint.ts.
Where is MySqlBigInt64 defined?
MySqlBigInt64 is defined in drizzle-orm/src/mysql-core/columns/bigint.ts at line 85.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free