Home / Type/ PgUpdateSetSource Type — drizzle-orm Architecture

PgUpdateSetSource Type — drizzle-orm Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

drizzle-orm/src/pg-core/query-builders/update.ts lines 63–71

export type PgUpdateSetSource<TTable extends PgTable> =
	& {
		[Key in keyof TTable['$inferInsert']]?:
			| GetColumnData<TTable['_']['columns'][Key]>
			| SQL
			| PgColumn
			| undefined;
	}
	& {};

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free