toSQL() — drizzle-orm Function Reference
Architecture documentation for the toSQL() function in delete.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 89d11396_a401_18b8_1b40_dd262a60719f["toSQL()"] a471a882_6081_4e4c_2ea3_c3ac37ea807a["SQLiteDeleteBase"] 89d11396_a401_18b8_1b40_dd262a60719f -->|defined in| a471a882_6081_4e4c_2ea3_c3ac37ea807a 4a413213_c3f1_999c_90bd_a5f32cf08df5["getSQL()"] 89d11396_a401_18b8_1b40_dd262a60719f -->|calls| 4a413213_c3f1_999c_90bd_a5f32cf08df5 style 89d11396_a401_18b8_1b40_dd262a60719f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/sqlite-core/query-builders/delete.ts lines 260–263
toSQL(): Query {
const { typings: _typings, ...rest } = this.dialect.sqlToQuery(this.getSQL());
return rest;
}
Domain
Subdomains
Calls
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/delete.ts.
Where is toSQL() defined?
toSQL() is defined in drizzle-orm/src/sqlite-core/query-builders/delete.ts at line 260.
What does toSQL() call?
toSQL() calls 1 function(s): getSQL.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free