How to ensure all db operations in a same transaction? #9304
formingform
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to implement a fetcher to filter my contract events, and I'll import the events to db like this:
But, before to import events to db, I'll do something else and update my business tables, so, how can I ensure "import events" and "update business tables" in a same transaction?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions