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 6f634618_59a1_b96d_b9a9_18c974992525["char()"] a7fee2a9_bf3d_8f79_4c9d_9c28e429bc91["char.ts"] 6f634618_59a1_b96d_b9a9_18c974992525 -->|defined in| a7fee2a9_bf3d_8f79_4c9d_9c28e429bc91 0901e570_092e_b7a9_e086_e33f2737ebc7["getSQLType()"] 0901e570_092e_b7a9_e086_e33f2737ebc7 -->|calls| 6f634618_59a1_b96d_b9a9_18c974992525 style 6f634618_59a1_b96d_b9a9_18c974992525 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/mysql-core/columns/char.ts lines 82–85
export function char(a?: string | MySqlCharConfig, b: MySqlCharConfig = {}): any {
const { name, config } = getColumnNameAndConfig<MySqlCharConfig>(a, b);
return new MySqlCharBuilder(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/mysql-core/columns/char.ts.
Where is char() defined?
char() is defined in drizzle-orm/src/mysql-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