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
在 DbManager::getInstance()->startTransaction() 时仅判断了是否已经有上下文,然后调用了mysql的begin。希望在 startTransaction 里支持 savepoint。
即如果已经开启事务,再次开启事务,则用 savepoint 语法代替 begin。rollback/commit也相应替换。
这样写方法的时候不需要关注是否已经在事务里。会比较轻松一些。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
easyswoole框架 3.3.7、orm组件版本号 1.4.9
问题描述和截图
在 DbManager::getInstance()->startTransaction() 时仅判断了是否已经有上下文,然后调用了mysql的begin。希望在 startTransaction 里支持 savepoint。
即如果已经开启事务,再次开启事务,则用 savepoint 语法代替 begin。rollback/commit也相应替换。
这样写方法的时候不需要关注是否已经在事务里。会比较轻松一些。
The text was updated successfully, but these errors were encountered: