Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Is there a way to call a prepared statement from within a transaction? - Drizzle Team
DT
Drizzle Team
•
3y ago
•
1 reply
somegamer1337
Is there a way to call a prepared statement from within a transaction?
I have a prepared statement called
p1
p1
. Is it possible to call it from within a transaction
?
Something like
await
db.
transaction
(
async
(
tx
)
=>
{
p1
(tx).
execute
()
})
await
db.
transaction
(
async
(
tx
)
=>
{
p1
(tx).
execute
()
})
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
Transaction + prepared statement
DT
Drizzle Team / help
3y ago
Prepared statement returns undefined
DT
Drizzle Team / help
3y ago
Infer Types from Partial Select Prepared Statement
DT
Drizzle Team / help
3y ago
How to use a prepared query inside a transaction?
DT
Drizzle Team / help
8mo ago