Home / Type/ DbForeignKey Type — drizzle-orm Architecture

DbForeignKey Type — drizzle-orm Architecture

Architecture documentation for the DbForeignKey type/interface in drizzleStudio.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  6cb47c92_383c_c101_5e8b_e716d6aa66b9["DbForeignKey"]
  608febef_f58a_5716_7467_62f648585908["drizzleStudio.ts"]
  6cb47c92_383c_c101_5e8b_e716d6aa66b9 -->|defined in| 608febef_f58a_5716_7467_62f648585908
  style 6cb47c92_383c_c101_5e8b_e716d6aa66b9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-seed/src/types/drizzleStudio.ts lines 6–16

export type DbForeignKey = {
	name: string;
	tableFrom: string;
	columnsFrom: string[];
	schemaFrom: string;
	schemaTo: string;
	tableTo: string;
	columnsTo: string[];
	onUpdate?: string;
	onDelete?: string;
};

Frequently Asked Questions

What is the DbForeignKey type?
DbForeignKey is a type/interface in the drizzle-orm codebase, defined in drizzle-seed/src/types/drizzleStudio.ts.
Where is DbForeignKey defined?
DbForeignKey is defined in drizzle-seed/src/types/drizzleStudio.ts at line 6.

Analyze Your Own Codebase

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

Try Supermodel Free