© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Run Raw SQL with sql`` - Drizzle Team
DT
Drizzle Team
•
2y ago
•
1 reply
LUCKY
Run Raw SQL with sql``
Hi all
, is it possible to run unsafe SQL from an API
. We have a use
-case on some devices that we manage
.
const res
= db
.run
(sql
(
${statement}
${statement}
)
)
;
Thanks
!
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
sql.raw with params array
DT
Drizzle Team / help
16mo ago
pgTable - raw sql
DT
Drizzle Team / help
3y ago
Get raw SQL string with parameters
DT
Drizzle Team / help
2y ago