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
  32c31339_781d_a35c_bf9a_2d5da944b406["getSQL()"]
  40e4076c_05d5_c280_7940_f08e5d3868d9["GelUpdateBase"]
  32c31339_781d_a35c_bf9a_2d5da944b406 -->|defined in| 40e4076c_05d5_c280_7940_f08e5d3868d9
  57a89d31_0c82_a1d2_cb7c_901b73412110["getSQL()"]
  57a89d31_0c82_a1d2_cb7c_901b73412110 -->|calls| 32c31339_781d_a35c_bf9a_2d5da944b406
  d8ffd049_f530_2f99_67d7_9d0a5d8fd925["toSQL()"]
  d8ffd049_f530_2f99_67d7_9d0a5d8fd925 -->|calls| 32c31339_781d_a35c_bf9a_2d5da944b406
  84394122_beb5_4447_ef69_0eea00ec05f0["_prepare()"]
  84394122_beb5_4447_ef69_0eea00ec05f0 -->|calls| 32c31339_781d_a35c_bf9a_2d5da944b406
  style 32c31339_781d_a35c_bf9a_2d5da944b406 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel-core/query-builders/update.ts lines 529–531

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