阅读背景:

为什么我的Django代码在出现错误时不会回滚更改?

来源:互联网 

Below is my code. (It's run by Celery, but I don't think that's important.) When an error occurs, the mongo record gets removed (yay!) but the .rollback() does not work, so mysql keeps the record instead of rolling it back. Why?Below is my code. (It's run by Celery, but I do




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: