Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Versatile functions with transaction support - Drizzle Team
DT
Drizzle Team
•
9mo ago
•
1 reply
html_extraordinaire
Versatile functions with transaction support
Used to be able to add
tx = db
tx = db
as the last argument of a function
. I find I
'm no longer able to do that
. Is there an updated pattern I should use if I want the ability to use any query I
've already written inside of a transaction
?
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
Similar Threads
Having CRUD functions and Transaction Support
DT
Drizzle Team / help
3y ago
Passing transaction to functions
DT
Drizzle Team / help
15mo ago
Transaction doesn't support Promise.all
DT
Drizzle Team / help
3y ago
Can i share drizzle transaction with knex.js's transaction (postgresql)
DT
Drizzle Team / help
16mo ago