什么情况下,需要用事务?

你需要对数据库进行一系列的insert ,update,delete等操作,这些操作要全部成功,否则就要恢复成原来

posted @ 2021-08-12 09:38  jukuk1  阅读(179)  评论(0编辑  收藏  举报