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

mediumtext() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

drizzle-orm/src/mysql-core/columns/text.ts lines 93–96

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free