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

getSQL() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  085785c8_fb97_3a56_bd03_d88e63049924["getSQL()"]
  2554514b_4610_9aed_e6d5_669cd23017c0["SQLiteUpdateBase"]
  085785c8_fb97_3a56_bd03_d88e63049924 -->|defined in| 2554514b_4610_9aed_e6d5_669cd23017c0
  2daf9e3a_9249_68dd_04e5_a0dfb55f8a05["getSQL()"]
  2daf9e3a_9249_68dd_04e5_a0dfb55f8a05 -->|calls| 085785c8_fb97_3a56_bd03_d88e63049924
  62769419_3a8e_5550_17fc_426284ffa4f5["toSQL()"]
  62769419_3a8e_5550_17fc_426284ffa4f5 -->|calls| 085785c8_fb97_3a56_bd03_d88e63049924
  99891865_6c32_2250_e8dc_130a485cf796["_prepare()"]
  99891865_6c32_2250_e8dc_130a485cf796 -->|calls| 085785c8_fb97_3a56_bd03_d88e63049924
  style 085785c8_fb97_3a56_bd03_d88e63049924 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/sqlite-core/query-builders/update.ts lines 414–416

	getSQL(): SQL {
		return this.dialect.buildUpdateQuery(this.config);
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free