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

execute() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  4429569d_bb9f_655b_363d_54a1b2fc6bcb["execute()"]
  2554514b_4610_9aed_e6d5_669cd23017c0["SQLiteUpdateBase"]
  4429569d_bb9f_655b_363d_54a1b2fc6bcb -->|defined in| 2554514b_4610_9aed_e6d5_669cd23017c0
  39c69906_cda5_6589_dc29_b3864034a449["execute()"]
  39c69906_cda5_6589_dc29_b3864034a449 -->|calls| 4429569d_bb9f_655b_363d_54a1b2fc6bcb
  style 4429569d_bb9f_655b_363d_54a1b2fc6bcb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/sqlite-core/query-builders/update.ts lines 458–460

	override async execute(): Promise<SQLiteUpdateExecute<this>> {
		return (this.config.returning ? this.all() : this.run()) as SQLiteUpdateExecute<this>;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free