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
  c0eecc04_8e25_2693_27dd_104383048591["IndexedColumn"]
  a74dd48d_d5e3_6bb4_19c7_1954c9126816["common.ts"]
  c0eecc04_8e25_2693_27dd_104383048591 -->|defined in| a74dd48d_d5e3_6bb4_19c7_1954c9126816
  3714d705_8bdb_9a92_654c_350f9b05780a["constructor()"]
  c0eecc04_8e25_2693_27dd_104383048591 -->|method| 3714d705_8bdb_9a92_654c_350f9b05780a

Relationship Graph

Source Code

drizzle-orm/src/gel-core/columns/common.ts lines 230–248

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/gel-core/columns/common.ts.
Where is IndexedColumn defined?
IndexedColumn is defined in drizzle-orm/src/gel-core/columns/common.ts at line 230.

Analyze Your Own Codebase

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

Try Supermodel Free