SQLiteBooleanBuilder Class — drizzle-orm Architecture
Architecture documentation for the SQLiteBooleanBuilder class in integer.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 95e8c651_4b0a_1b8e_9bf0_6315e443b768["SQLiteBooleanBuilder"] 29728329_4422_ca9a_2652_18e0b18797f4["integer.ts"] 95e8c651_4b0a_1b8e_9bf0_6315e443b768 -->|defined in| 29728329_4422_ca9a_2652_18e0b18797f4 9872cbca_65b3_b150_2caf_952b891de09a["constructor()"] 95e8c651_4b0a_1b8e_9bf0_6315e443b768 -->|method| 9872cbca_65b3_b150_2caf_952b891de09a af8f9c38_bac9_d565_3e0e_11716400f33e["build()"] 95e8c651_4b0a_1b8e_9bf0_6315e443b768 -->|method| af8f9c38_bac9_d565_3e0e_11716400f33e
Relationship Graph
Source Code
drizzle-orm/src/sqlite-core/columns/integer.ts lines 168–186
export class SQLiteBooleanBuilder<T extends ColumnBuilderBaseConfig<'boolean', 'SQLiteBoolean'>>
extends SQLiteBaseIntegerBuilder<T, { mode: 'boolean' }>
{
static override readonly [entityKind]: string = 'SQLiteBooleanBuilder';
constructor(name: T['name'], mode: 'boolean') {
super(name, 'boolean', 'SQLiteBoolean');
this.config.mode = mode;
}
build<TTableName extends string>(
table: AnySQLiteTable<{ name: TTableName }>,
): SQLiteBoolean<MakeColumnConfig<T, TTableName>> {
return new SQLiteBoolean<MakeColumnConfig<T, TTableName>>(
table,
this.config as ColumnBuilderRuntimeConfig<any, any>,
);
}
}
Domain
Source
Frequently Asked Questions
What is the SQLiteBooleanBuilder class?
SQLiteBooleanBuilder is a class in the drizzle-orm codebase, defined in drizzle-orm/src/sqlite-core/columns/integer.ts.
Where is SQLiteBooleanBuilder defined?
SQLiteBooleanBuilder is defined in drizzle-orm/src/sqlite-core/columns/integer.ts at line 168.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free