Home / Type/ PgTextConfig Type — drizzle-orm Architecture

PgTextConfig Type — drizzle-orm Architecture

Architecture documentation for the PgTextConfig type/interface in text.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  392cd28c_799e_a52e_7c8b_d2a25c20d7d2["PgTextConfig"]
  a6ad19c8_cb59_7946_dc83_6851df433535["text.ts"]
  392cd28c_799e_a52e_7c8b_d2a25c20d7d2 -->|defined in| a6ad19c8_cb59_7946_dc83_6851df433535
  style 392cd28c_799e_a52e_7c8b_d2a25c20d7d2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/text.ts lines 50–54

export interface PgTextConfig<
	TEnum extends readonly string[] | string[] | undefined = readonly string[] | string[] | undefined,
> {
	enum?: TEnum;
}

Frequently Asked Questions

What is the PgTextConfig type?
PgTextConfig is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/columns/text.ts.
Where is PgTextConfig defined?
PgTextConfig is defined in drizzle-orm/src/pg-core/columns/text.ts at line 50.

Analyze Your Own Codebase

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

Try Supermodel Free