Home / Class/ GelTable Class — drizzle-orm Architecture

GelTable Class — drizzle-orm Architecture

Architecture documentation for the GelTable class in table.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  2eedb6f7_d8cd_b386_c3b0_8585d8562d1d["GelTable"]
  cbe7af57_41be_454d_306f_02d0e6f81949["table.ts"]
  2eedb6f7_d8cd_b386_c3b0_8585d8562d1d -->|defined in| cbe7af57_41be_454d_306f_02d0e6f81949

Relationship Graph

Source Code

drizzle-orm/src/gel-core/table.ts lines 33–54

export class GelTable<T extends TableConfig = TableConfig> extends Table<T> {
	static override readonly [entityKind]: string = 'GelTable';

	/** @internal */
	static override readonly Symbol = Object.assign({}, Table.Symbol, {
		InlineForeignKeys: InlineForeignKeys as typeof InlineForeignKeys,
		EnableRLS: EnableRLS as typeof EnableRLS,
	});

	/**@internal */
	[InlineForeignKeys]: ForeignKey[] = [];

	/** @internal */
	[EnableRLS]: boolean = false;

	/** @internal */
	override [Table.Symbol.ExtraConfigBuilder]: ((self: Record<string, GelColumn>) => GelTableExtraConfig) | undefined =
		undefined;

	/** @internal */
	override [Table.Symbol.ExtraConfigColumns]: Record<string, GelExtraConfigColumn> = {};
}

Domain

Frequently Asked Questions

What is the GelTable class?
GelTable is a class in the drizzle-orm codebase, defined in drizzle-orm/src/gel-core/table.ts.
Where is GelTable defined?
GelTable is defined in drizzle-orm/src/gel-core/table.ts at line 33.

Analyze Your Own Codebase

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

Try Supermodel Free