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

toSQL() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  3e96e582_285d_e98d_2404_76247f46c53d["toSQL()"]
  e8ae715e_b65b_b0b9_a755_051bc127c6e5["SingleStoreUpdateBase"]
  3e96e582_285d_e98d_2404_76247f46c53d -->|defined in| e8ae715e_b65b_b0b9_a755_051bc127c6e5
  0b967fef_1e6e_baff_38c4_7f097999ec0b["toSQL()"]
  0b967fef_1e6e_baff_38c4_7f097999ec0b -->|calls| 3e96e582_285d_e98d_2404_76247f46c53d
  9e8c4df0_e9f3_3223_112f_d1eb6bd33cc8["getSQL()"]
  3e96e582_285d_e98d_2404_76247f46c53d -->|calls| 9e8c4df0_e9f3_3223_112f_d1eb6bd33cc8
  style 3e96e582_285d_e98d_2404_76247f46c53d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/singlestore-core/query-builders/update.ts lines 225–228

	toSQL(): Query {
		const { typings: _typings, ...rest } = this.dialect.sqlToQuery(this.getSQL());
		return rest;
	}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free