How to Decide to use Database Transactions

后端 未结 6 2274
小鲜肉
小鲜肉 2020-12-11 15:10

How do you guys decide that you should be wrapping the sql in a transaction?

Please throw some light on this.

Cheers !!

6条回答
  •  心在旅途
    2020-12-11 15:52

    If you are executing two or more statements that you expect to be functionally atomic, you should wrap them in a transaction.

提交回复
热议问题