PgUpdate Type — drizzle-orm Architecture
Architecture documentation for the PgUpdate type/interface in update.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 8f6023ac_7f5e_d194_ecef_03f9d0fb3045["PgUpdate"] ebf76db1_7804_287b_622a_ab94e9efc196["update.ts"] 8f6023ac_7f5e_d194_ecef_03f9d0fb3045 -->|defined in| ebf76db1_7804_287b_622a_ab94e9efc196 style 8f6023ac_7f5e_d194_ecef_03f9d0fb3045 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/query-builders/update.ts lines 295–303
export type PgUpdate<
TTable extends PgTable = PgTable,
TQueryResult extends PgQueryResultHKT = PgQueryResultHKT,
TFrom extends PgTable | Subquery | PgViewBase | SQL | undefined = undefined,
TSelectedFields extends ColumnsSelection | undefined = undefined,
TReturning extends Record<string, unknown> | undefined = Record<string, unknown> | undefined,
TNullabilityMap extends Record<string, JoinNullability> = Record<TTable['_']['name'], 'not-null'>,
TJoins extends Join[] = [],
> = PgUpdateBase<TTable, TQueryResult, TFrom, TSelectedFields, TReturning, TNullabilityMap, TJoins, true, never>;
Source
Frequently Asked Questions
What is the PgUpdate type?
PgUpdate is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/query-builders/update.ts.
Where is PgUpdate defined?
PgUpdate is defined in drizzle-orm/src/pg-core/query-builders/update.ts at line 295.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free