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 62769419_3a8e_5550_17fc_426284ffa4f5["toSQL()"] 2554514b_4610_9aed_e6d5_669cd23017c0["SQLiteUpdateBase"] 62769419_3a8e_5550_17fc_426284ffa4f5 -->|defined in| 2554514b_4610_9aed_e6d5_669cd23017c0 8a1baeda_2c91_0569_6e73_8cedaff85739["toSQL()"] 8a1baeda_2c91_0569_6e73_8cedaff85739 -->|calls| 62769419_3a8e_5550_17fc_426284ffa4f5 085785c8_fb97_3a56_bd03_d88e63049924["getSQL()"] 62769419_3a8e_5550_17fc_426284ffa4f5 -->|calls| 085785c8_fb97_3a56_bd03_d88e63049924 style 62769419_3a8e_5550_17fc_426284ffa4f5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/sqlite-core/query-builders/update.ts lines 418–421
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/sqlite-core/query-builders/update.ts.
Where is toSQL() defined?
toSQL() is defined in drizzle-orm/src/sqlite-core/query-builders/update.ts at line 418.
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