raw() — drizzle-orm Function Reference
Architecture documentation for the raw() function in sql.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 8b5cf4e3_47cf_9aff_6725_1e5edcbd7a9f["raw()"] 99347ab2_b1a1_faf4_e37c_7643e4b2eb8a["sql.ts"] 8b5cf4e3_47cf_9aff_6725_1e5edcbd7a9f -->|defined in| 99347ab2_b1a1_faf4_e37c_7643e4b2eb8a d895d7d4_2394_4307_94eb_389073534806["count()"] d895d7d4_2394_4307_94eb_389073534806 -->|calls| 8b5cf4e3_47cf_9aff_6725_1e5edcbd7a9f style 8b5cf4e3_47cf_9aff_6725_1e5edcbd7a9f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/sql/sql.ts lines 511–513
export function raw(str: string): SQL {
return new SQL([new StringChunk(str)]);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does raw() do?
raw() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/sql/sql.ts.
Where is raw() defined?
raw() is defined in drizzle-orm/src/sql/sql.ts at line 511.
What calls raw()?
raw() is called by 1 function(s): count.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free