Home / Type/ MySqlUpdateSetSource Type — drizzle-orm Architecture

MySqlUpdateSetSource Type — drizzle-orm Architecture

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

Entity Profile

Dependency Diagram

graph TD
  8ea3af50_0f7b_ce49_40f5_89ce4fba07ae["MySqlUpdateSetSource"]
  87ec4c19_e662_b455_8a6b_c6b8ac85ec0e["update.ts"]
  8ea3af50_0f7b_ce49_40f5_89ce4fba07ae -->|defined in| 87ec4c19_e662_b455_8a6b_c6b8ac85ec0e
  style 8ea3af50_0f7b_ce49_40f5_89ce4fba07ae fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/mysql-core/query-builders/update.ts lines 35–42

export type MySqlUpdateSetSource<TTable extends MySqlTable> =
	& {
		[Key in keyof TTable['$inferInsert']]?:
			| GetColumnData<TTable['_']['columns'][Key], 'query'>
			| SQL
			| undefined;
	}
	& {};

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free