IsPrimaryKey Type — drizzle-orm Architecture
Architecture documentation for the IsPrimaryKey type/interface in column-builder.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 535b18cc_ebad_3fda_5e25_2464d6107a3b["IsPrimaryKey"] b1f62532_46b8_598e_816c_9da2dce0b761["column-builder.ts"] 535b18cc_ebad_3fda_5e25_2464d6107a3b -->|defined in| b1f62532_46b8_598e_816c_9da2dce0b761 style 535b18cc_ebad_3fda_5e25_2464d6107a3b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/column-builder.ts lines 136–140
export type IsPrimaryKey<T extends ColumnBuilderBase> = T & {
_: {
isPrimaryKey: true;
};
};
Defined In
Source
Frequently Asked Questions
What is the IsPrimaryKey type?
IsPrimaryKey is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/column-builder.ts.
Where is IsPrimaryKey defined?
IsPrimaryKey is defined in drizzle-orm/src/column-builder.ts at line 136.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free