© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
DT
Drizzle Team
•
3y ago
Adamgreg
Prepare raw sql query (Postgres)
Hi
, I need to do a recursive query
, so I think I need to use the magic sql operator to build it
. Is it possible to make a prepared statement this way
? I haven
't been able to find a way
, but something like
db.prepare(sql`...`)
db.prepare(sql`...`)
would make sense to me
.
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
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Executing raw Sql query
DT
Drizzle Team / help
2y ago
Raw SQL query (`.execute()` doesn't exist)
DT
Drizzle Team / help
2y ago
Disable postgres log when executing raw sql queries
DT
Drizzle Team / help
3y ago
Raw SQL / Postgres stored generated column in schema
DT
Drizzle Team / help
3y ago