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 14227a2e_e1f7_0f5b_4f12_e1b229f286cd["toSQL()"] 5d66ba6f_e23f_7c82_7ce5_f17a13e7df4e["PgUpdateBase"] 14227a2e_e1f7_0f5b_4f12_e1b229f286cd -->|defined in| 5d66ba6f_e23f_7c82_7ce5_f17a13e7df4e 1e6cab38_f209_21e0_ce7a_fe97e297b35d["toSQL()"] 1e6cab38_f209_21e0_ce7a_fe97e297b35d -->|calls| 14227a2e_e1f7_0f5b_4f12_e1b229f286cd afd1bf86_abb9_47a7_f46d_6938aadb5c15["getSQL()"] 14227a2e_e1f7_0f5b_4f12_e1b229f286cd -->|calls| afd1bf86_abb9_47a7_f46d_6938aadb5c15 style 14227a2e_e1f7_0f5b_4f12_e1b229f286cd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/query-builders/update.ts lines 574–577
toSQL(): Query {
const { typings: _typings, ...rest } = this.dialect.sqlToQuery(this.getSQL());
return rest;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does toSQL() do?
toSQL() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/query-builders/update.ts.
Where is toSQL() defined?
toSQL() is defined in drizzle-orm/src/pg-core/query-builders/update.ts at line 574.
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