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