Home / Type/ PgUpdateWithout Type — drizzle-orm Architecture

PgUpdateWithout Type — drizzle-orm Architecture

Architecture documentation for the PgUpdateWithout type/interface in update.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  30bed06e_7587_0dd4_0816_6a031d88a6f1["PgUpdateWithout"]
  ebf76db1_7804_287b_622a_ab94e9efc196["update.ts"]
  30bed06e_7587_0dd4_0816_6a031d88a6f1 -->|defined in| ebf76db1_7804_287b_622a_ab94e9efc196
  style 30bed06e_7587_0dd4_0816_6a031d88a6f1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/query-builders/update.ts lines 106–123

export type PgUpdateWithout<
	T extends AnyPgUpdate,
	TDynamic extends boolean,
	K extends keyof T & string,
> = TDynamic extends true ? T : Omit<
	PgUpdateBase<
		T['_']['table'],
		T['_']['queryResult'],
		T['_']['from'],
		T['_']['selectedFields'],
		T['_']['returning'],
		T['_']['nullabilityMap'],
		T['_']['joins'],
		TDynamic,
		T['_']['excludedMethods'] | K
	>,
	T['_']['excludedMethods'] | K
>;

Frequently Asked Questions

What is the PgUpdateWithout type?
PgUpdateWithout is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/query-builders/update.ts.
Where is PgUpdateWithout defined?
PgUpdateWithout is defined in drizzle-orm/src/pg-core/query-builders/update.ts at line 106.

Analyze Your Own Codebase

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

Try Supermodel Free