Home / Class/ SQLiteTable Class — drizzle-orm Architecture

SQLiteTable Class — drizzle-orm Architecture

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

Entity Profile

Dependency Diagram

graph TD
  173bb8b4_9ed6_8c4b_ec84_da0f0e14ceb2["SQLiteTable"]
  64ae061d_ed9a_c5f9_235a_3f31995a8d54["table.ts"]
  173bb8b4_9ed6_8c4b_ec84_da0f0e14ceb2 -->|defined in| 64ae061d_ed9a_c5f9_235a_3f31995a8d54

Relationship Graph

Source Code

drizzle-orm/src/sqlite-core/table.ts lines 29–47

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

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

	/** @internal */
	override [Table.Symbol.Columns]!: NonNullable<T['columns']>;

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

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

Domain

Frequently Asked Questions

What is the SQLiteTable class?
SQLiteTable is a class in the drizzle-orm codebase, defined in drizzle-orm/src/sqlite-core/table.ts.
Where is SQLiteTable defined?
SQLiteTable is defined in drizzle-orm/src/sqlite-core/table.ts at line 29.

Analyze Your Own Codebase

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

Try Supermodel Free