Home / Function/ longtext() — drizzle-orm Function Reference

longtext() — drizzle-orm Function Reference

Architecture documentation for the longtext() function in text.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  02cda5f9_8a01_695c_2979_cce8212c5746["longtext()"]
  21ea5431_beac_3363_5280_45ca68ef3fdb["text.ts"]
  02cda5f9_8a01_695c_2979_cce8212c5746 -->|defined in| 21ea5431_beac_3363_5280_45ca68ef3fdb
  style 02cda5f9_8a01_695c_2979_cce8212c5746 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/mysql-core/columns/text.ts lines 106–109

export function longtext(a?: string | MySqlTextConfig, b: MySqlTextConfig = {}): any {
	const { name, config } = getColumnNameAndConfig<MySqlTextConfig>(a, b);
	return new MySqlTextBuilder(name, 'longtext', config as any);
}

Domain

Subdomains

Frequently Asked Questions

What does longtext() do?
longtext() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/mysql-core/columns/text.ts.
Where is longtext() defined?
longtext() is defined in drizzle-orm/src/mysql-core/columns/text.ts at line 106.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free