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
  37dd6606_f1f6_4dfe_ae92_6e5cfb73236f["constructor()"]
  2554514b_4610_9aed_e6d5_669cd23017c0["SQLiteUpdateBase"]
  37dd6606_f1f6_4dfe_ae92_6e5cfb73236f -->|defined in| 2554514b_4610_9aed_e6d5_669cd23017c0
  a9c1cd55_67cd_3638_fca0_944f4113c118["constructor()"]
  a9c1cd55_67cd_3638_fca0_944f4113c118 -->|calls| 37dd6606_f1f6_4dfe_ae92_6e5cfb73236f
  a9c1cd55_67cd_3638_fca0_944f4113c118["constructor()"]
  37dd6606_f1f6_4dfe_ae92_6e5cfb73236f -->|calls| a9c1cd55_67cd_3638_fca0_944f4113c118
  style 37dd6606_f1f6_4dfe_ae92_6e5cfb73236f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/sqlite-core/query-builders/update.ts lines 244–253

	constructor(
		table: TTable,
		set: UpdateSet,
		private session: SQLiteSession<any, any, any, any>,
		private dialect: SQLiteDialect,
		withList?: Subquery[],
	) {
		super();
		this.config = { set, table, withList, joins: [] };
	}

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