Home / Type/ JsonSqliteCreateTableStatement Type — drizzle-orm Architecture

JsonSqliteCreateTableStatement Type — drizzle-orm Architecture

Architecture documentation for the JsonSqliteCreateTableStatement type/interface in jsonStatements.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  41125c36_65de_cdb6_3fea_97feb5568bd2["JsonSqliteCreateTableStatement"]
  6139f734_8ada_c641_9fec_9a55cfdf376f["jsonStatements.ts"]
  41125c36_65de_cdb6_3fea_97feb5568bd2 -->|defined in| 6139f734_8ada_c641_9fec_9a55cfdf376f
  style 41125c36_65de_cdb6_3fea_97feb5568bd2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-kit/src/jsonStatements.ts lines 27–43

export interface JsonSqliteCreateTableStatement {
	type: 'sqlite_create_table';
	tableName: string;
	columns: Column[];
	referenceData: {
		name: string;
		tableFrom: string;
		columnsFrom: string[];
		tableTo: string;
		columnsTo: string[];
		onUpdate?: string | undefined;
		onDelete?: string | undefined;
	}[];
	compositePKs: string[][];
	uniqueConstraints?: string[];
	checkConstraints?: string[];
}

Frequently Asked Questions

What is the JsonSqliteCreateTableStatement type?
JsonSqliteCreateTableStatement is a type/interface in the drizzle-orm codebase, defined in drizzle-kit/src/jsonStatements.ts.
Where is JsonSqliteCreateTableStatement defined?
JsonSqliteCreateTableStatement is defined in drizzle-kit/src/jsonStatements.ts at line 27.

Analyze Your Own Codebase

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

Try Supermodel Free