GelSmallIntBuilder Class — drizzle-orm Architecture
Architecture documentation for the GelSmallIntBuilder class in smallint.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD cdd2c688_780f_b4b7_85a7_ea55837d8b72["GelSmallIntBuilder"] 41fc1c2f_5284_10b7_6f35_bd5efb077dfe["smallint.ts"] cdd2c688_780f_b4b7_85a7_ea55837d8b72 -->|defined in| 41fc1c2f_5284_10b7_6f35_bd5efb077dfe c00db057_cf32_6320_bcd0_cf3851c5604b["constructor()"] cdd2c688_780f_b4b7_85a7_ea55837d8b72 -->|method| c00db057_cf32_6320_bcd0_cf3851c5604b 6df2104b_07c8_c40b_7b05_4c0e43291848["build()"] cdd2c688_780f_b4b7_85a7_ea55837d8b72 -->|method| 6df2104b_07c8_c40b_7b05_4c0e43291848
Relationship Graph
Source Code
drizzle-orm/src/gel-core/columns/smallint.ts lines 17–32
export class GelSmallIntBuilder<T extends ColumnBuilderBaseConfig<'number', 'GelSmallInt'>>
extends GelIntColumnBaseBuilder<T>
{
static override readonly [entityKind]: string = 'GelSmallIntBuilder';
constructor(name: T['name']) {
super(name, 'number', 'GelSmallInt');
}
/** @internal */
override build<TTableName extends string>(
table: AnyGelTable<{ name: TTableName }>,
): GelSmallInt<MakeColumnConfig<T, TTableName>> {
return new GelSmallInt<MakeColumnConfig<T, TTableName>>(table, this.config as ColumnBuilderRuntimeConfig<any, any>);
}
}
Domain
Defined In
Source
Frequently Asked Questions
What is the GelSmallIntBuilder class?
GelSmallIntBuilder is a class in the drizzle-orm codebase, defined in drizzle-orm/src/gel-core/columns/smallint.ts.
Where is GelSmallIntBuilder defined?
GelSmallIntBuilder is defined in drizzle-orm/src/gel-core/columns/smallint.ts at line 17.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free