text() — drizzle-orm Function Reference
Architecture documentation for the text() function in text.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD adf239e7_a933_0a28_b49c_3946a09f22d3["text()"] 21ea5431_beac_3363_5280_45ca68ef3fdb["text.ts"] adf239e7_a933_0a28_b49c_3946a09f22d3 -->|defined in| 21ea5431_beac_3363_5280_45ca68ef3fdb style adf239e7_a933_0a28_b49c_3946a09f22d3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/mysql-core/columns/text.ts lines 67–70
export function text(a?: string | MySqlTextConfig, b: MySqlTextConfig = {}): any {
const { name, config } = getColumnNameAndConfig<MySqlTextConfig>(a, b);
return new MySqlTextBuilder(name, 'text', config as any);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does text() do?
text() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/mysql-core/columns/text.ts.
Where is text() defined?
text() is defined in drizzle-orm/src/mysql-core/columns/text.ts at line 67.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free