Home / Type/ PgCharBuilderInitial Type — drizzle-orm Architecture

PgCharBuilderInitial Type — drizzle-orm Architecture

Architecture documentation for the PgCharBuilderInitial type/interface in char.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  db2004a0_28a4_f91d_439d_92834a7e0b2c["PgCharBuilderInitial"]
  eb53d002_51a7_6f92_43e3_0451f4322791["char.ts"]
  db2004a0_28a4_f91d_439d_92834a7e0b2c -->|defined in| eb53d002_51a7_6f92_43e3_0451f4322791
  style db2004a0_28a4_f91d_439d_92834a7e0b2c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/char.ts lines 8–20

export type PgCharBuilderInitial<
	TName extends string,
	TEnum extends [string, ...string[]],
	TLength extends number | undefined,
> = PgCharBuilder<{
	name: TName;
	dataType: 'string';
	columnType: 'PgChar';
	data: TEnum[number];
	enumValues: TEnum;
	driverParam: string;
	length: TLength;
}>;

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free