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
  45f41301_6f8e_7394_219b_2d318a644250["constructor()"]
  40e4076c_05d5_c280_7940_f08e5d3868d9["GelUpdateBase"]
  45f41301_6f8e_7394_219b_2d318a644250 -->|defined in| 40e4076c_05d5_c280_7940_f08e5d3868d9
  66f758be_bdcd_d150_3c06_910272cf0e45["constructor()"]
  66f758be_bdcd_d150_3c06_910272cf0e45 -->|calls| 45f41301_6f8e_7394_219b_2d318a644250
  66f758be_bdcd_d150_3c06_910272cf0e45["constructor()"]
  45f41301_6f8e_7394_219b_2d318a644250 -->|calls| 66f758be_bdcd_d150_3c06_910272cf0e45
  style 45f41301_6f8e_7394_219b_2d318a644250 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel-core/query-builders/update.ts lines 332–343

	constructor(
		table: TTable,
		set: UpdateSet,
		private session: GelSession,
		private dialect: GelDialect,
		withList?: Subquery[],
	) {
		super();
		this.config = { set, table, withList, joins: [] };
		this.tableName = getTableLikeName(table);
		this.joinsNotNullableMap = typeof this.tableName === 'string' ? { [this.tableName]: true } : {};
	}

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/gel-core/query-builders/update.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/gel-core/query-builders/update.ts at line 332.
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