char() — drizzle-orm Function Reference
Architecture documentation for the char() function in char.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 7ba3289d_d725_0403_265e_7d83a17d0202["char()"] eb53d002_51a7_6f92_43e3_0451f4322791["char.ts"] 7ba3289d_d725_0403_265e_7d83a17d0202 -->|defined in| eb53d002_51a7_6f92_43e3_0451f4322791 23e265e5_17ea_d0bf_efea_cc539985335d["getSQLType()"] 23e265e5_17ea_d0bf_efea_cc539985335d -->|calls| 7ba3289d_d725_0403_265e_7d83a17d0202 style 7ba3289d_d725_0403_265e_7d83a17d0202 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/columns/char.ts lines 82–85
export function char(a?: string | PgCharConfig, b: PgCharConfig = {}): any {
const { name, config } = getColumnNameAndConfig<PgCharConfig>(a, b);
return new PgCharBuilder(name, config as any);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does char() do?
char() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/columns/char.ts.
Where is char() defined?
char() is defined in drizzle-orm/src/pg-core/columns/char.ts at line 82.
What calls char()?
char() is called by 1 function(s): getSQLType.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free