SingleStoreDecimalBigIntBuilder Class — drizzle-orm Architecture
Architecture documentation for the SingleStoreDecimalBigIntBuilder class in decimal.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 4aa04a5b_d409_4b41_41a3_4fa92241eb44["SingleStoreDecimalBigIntBuilder"] 2a9ee6c3_f2e3_0561_6981_2f8d4be67f5f["decimal.ts"] 4aa04a5b_d409_4b41_41a3_4fa92241eb44 -->|defined in| 2a9ee6c3_f2e3_0561_6981_2f8d4be67f5f 61a1c69b_c515_94d9_a401_74ee505bdf2a["constructor()"] 4aa04a5b_d409_4b41_41a3_4fa92241eb44 -->|method| 61a1c69b_c515_94d9_a401_74ee505bdf2a 984f6a40_dee3_24c5_c6a2_76d680077d45["build()"] 4aa04a5b_d409_4b41_41a3_4fa92241eb44 -->|method| 984f6a40_dee3_24c5_c6a2_76d680077d45
Relationship Graph
Source Code
drizzle-orm/src/singlestore-core/columns/decimal.ts lines 145–166
export class SingleStoreDecimalBigIntBuilder<
T extends ColumnBuilderBaseConfig<'bigint', 'SingleStoreDecimalBigInt'>,
> extends SingleStoreColumnBuilderWithAutoIncrement<T, SingleStoreDecimalConfig> {
static override readonly [entityKind]: string = 'SingleStoreDecimalBigIntBuilder';
constructor(name: T['name'], config: SingleStoreDecimalConfig | undefined) {
super(name, 'bigint', 'SingleStoreDecimalBigInt');
this.config.precision = config?.precision;
this.config.scale = config?.scale;
this.config.unsigned = config?.unsigned;
}
/** @internal */
override build<TTableName extends string>(
table: AnySingleStoreTable<{ name: TTableName }>,
): SingleStoreDecimalBigInt<MakeColumnConfig<T, TTableName>> {
return new SingleStoreDecimalBigInt<MakeColumnConfig<T, TTableName>>(
table,
this.config as ColumnBuilderRuntimeConfig<any, any>,
);
}
}
Domain
Source
Frequently Asked Questions
What is the SingleStoreDecimalBigIntBuilder class?
SingleStoreDecimalBigIntBuilder is a class in the drizzle-orm codebase, defined in drizzle-orm/src/singlestore-core/columns/decimal.ts.
Where is SingleStoreDecimalBigIntBuilder defined?
SingleStoreDecimalBigIntBuilder is defined in drizzle-orm/src/singlestore-core/columns/decimal.ts at line 145.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free