Home / Class/ IndexedColumn Class — drizzle-orm Architecture

IndexedColumn Class — drizzle-orm Architecture

Architecture documentation for the IndexedColumn class in common.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  2c9e3337_eb90_7145_eea2_50724242fbf7["IndexedColumn"]
  f4f42b4c_8610_03dd_fe01_232098668127["common.ts"]
  2c9e3337_eb90_7145_eea2_50724242fbf7 -->|defined in| f4f42b4c_8610_03dd_fe01_232098668127
  521ddd60_e526_41d8_f7b0_f5e14f4b1b4c["constructor()"]
  2c9e3337_eb90_7145_eea2_50724242fbf7 -->|method| 521ddd60_e526_41d8_f7b0_f5e14f4b1b4c

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/common.ts lines 231–249

export class IndexedColumn {
	static readonly [entityKind]: string = 'IndexedColumn';
	constructor(
		name: string | undefined,
		keyAsName: boolean,
		type: string,
		indexConfig: IndexedExtraConfigType,
	) {
		this.name = name;
		this.keyAsName = keyAsName;
		this.type = type;
		this.indexConfig = indexConfig;
	}

	name: string | undefined;
	keyAsName: boolean;
	type: string;
	indexConfig: IndexedExtraConfigType;
}

Domain

Frequently Asked Questions

What is the IndexedColumn class?
IndexedColumn is a class in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/columns/common.ts.
Where is IndexedColumn defined?
IndexedColumn is defined in drizzle-orm/src/pg-core/columns/common.ts at line 231.

Analyze Your Own Codebase

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

Try Supermodel Free