Rolling back transactions
I have a transaction that requires multiple database operations and an external API call. Sometimes, the external API call fails. When this happens, I would like to roll back the transaction.
Shall I issue a database transaction that I know for sure will fail the trigger the roll back?
Working with APIs
4 replies