We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
一个失败,全部回滚
下面是主要代码,请问各位大佬该怎么解决?我并不知道我哪里出错了,就是无法实现在一个事务中保证一个失败,全部回滚
The text was updated successfully, but these errors were encountered:
需要复用 SQLExecutor,参考 https://blog.csdn.net/aa330233789/article/details/105309571
或者类似 /login, /register 接口自己通过补偿来还原失败情况导致的更改。
当然一般不建议用 APIJSON 手写代码,APIJSON 主要用来提供零代码的万能通用 API,复杂业务建议通过现有的其它方式实现。
Sorry, something went wrong.
@AwenJackson 6.0.0 新增支持全能接口 /crud,一个请求 JSON 同时使用多种 CRUD 操作,并支持跨源事务,感谢 @cloudAndMonkey 的贡献 #481 #485;
https://github.com/Tencent/APIJSON/releases/tag/6.0.0
对应文档 https://github.com/Tencent/APIJSON/blob/master/README-extend.md
No branches or pull requests
下面是主要代码,请问各位大佬该怎么解决?我并不知道我哪里出错了,就是无法实现在一个事务中保证
一个失败,全部回滚
The text was updated successfully, but these errors were encountered: