Home / Type/ ForeignKey Type — drizzle-orm Architecture

ForeignKey Type — drizzle-orm Architecture

Architecture documentation for the ForeignKey type/interface in pgSchema.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  72c415fa_1e08_126e_6d53_40c02d8e202d["ForeignKey"]
  cbf63853_6723_30fc_5ded_88a8944f77c4["pgSchema.ts"]
  72c415fa_1e08_126e_6d53_40c02d8e202d -->|defined in| cbf63853_6723_30fc_5ded_88a8944f77c4
  style 72c415fa_1e08_126e_6d53_40c02d8e202d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-kit/src/serializer/pgSchema.ts lines 527–527

export type ForeignKey = TypeOf<typeof fk>;

Frequently Asked Questions

What is the ForeignKey type?
ForeignKey is a type/interface in the drizzle-orm codebase, defined in drizzle-kit/src/serializer/pgSchema.ts.
Where is ForeignKey defined?
ForeignKey is defined in drizzle-kit/src/serializer/pgSchema.ts at line 527.

Analyze Your Own Codebase

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

Try Supermodel Free