Home / Function/ constructor() — drizzle-orm Function Reference

constructor() — drizzle-orm Function Reference

Architecture documentation for the constructor() function in update.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  e53171da_9529_1f6b_7827_fc6ea8cbe7c6["constructor()"]
  ce2e790a_b4fb_fe3b_0e1e_b49965e041b1["MySqlUpdateBase"]
  e53171da_9529_1f6b_7827_fc6ea8cbe7c6 -->|defined in| ce2e790a_b4fb_fe3b_0e1e_b49965e041b1
  d432eba3_070a_7cc7_e6a3_711b00cc3e2a["constructor()"]
  d432eba3_070a_7cc7_e6a3_711b00cc3e2a -->|calls| e53171da_9529_1f6b_7827_fc6ea8cbe7c6
  d432eba3_070a_7cc7_e6a3_711b00cc3e2a["constructor()"]
  e53171da_9529_1f6b_7827_fc6ea8cbe7c6 -->|calls| d432eba3_070a_7cc7_e6a3_711b00cc3e2a
  style e53171da_9529_1f6b_7827_fc6ea8cbe7c6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/mysql-core/query-builders/update.ts lines 136–145

	constructor(
		table: TTable,
		set: UpdateSet,
		private session: MySqlSession,
		private dialect: MySqlDialect,
		withList?: Subquery[],
	) {
		super();
		this.config = { set, table, withList };
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does constructor() do?
constructor() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/mysql-core/query-builders/update.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/mysql-core/query-builders/update.ts at line 136.
What does constructor() call?
constructor() calls 1 function(s): constructor.
What calls constructor()?
constructor() is called by 1 function(s): constructor.

Analyze Your Own Codebase

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

Try Supermodel Free