drogonframework / drogonframework/drogon
[suggestion (or question) ] - orm-lib transaction rollback result callback
Open
enhancement
- Dominant language
- C++
- Stars
- 14.3k
- Forks
- 1.4k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 14
Description
Currently, when a transaction fails and is rolled back, the business does not know whether the rollback succeeds or fails. Sometimes,we need to know that the data is out of sync through the rollback callback.
One Solution is to add method `setRollbackCallback` to `TransactionImpl`
Contributor guide
Assessment
This issue has not been assessed yet.