PgBoolean Class — drizzle-orm Architecture
Architecture documentation for the PgBoolean class in boolean.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD a890e52a_4095_ed5a_ec1f_9bbb66e7278a["PgBoolean"] a4c9ea05_02a5_9e77_fca8_a0fb14b13f43["boolean.ts"] a890e52a_4095_ed5a_ec1f_9bbb66e7278a -->|defined in| a4c9ea05_02a5_9e77_fca8_a0fb14b13f43 d7db5505_5e55_908a_8310_94eabea809e1["getSQLType()"] a890e52a_4095_ed5a_ec1f_9bbb66e7278a -->|method| d7db5505_5e55_908a_8310_94eabea809e1
Relationship Graph
Source Code
drizzle-orm/src/pg-core/columns/boolean.ts lines 31–37
export class PgBoolean<T extends ColumnBaseConfig<'boolean', 'PgBoolean'>> extends PgColumn<T> {
static override readonly [entityKind]: string = 'PgBoolean';
getSQLType(): string {
return 'boolean';
}
}
Domain
Defined In
Source
Frequently Asked Questions
What is the PgBoolean class?
PgBoolean is a class in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/columns/boolean.ts.
Where is PgBoolean defined?
PgBoolean is defined in drizzle-orm/src/pg-core/columns/boolean.ts at line 31.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free