Could you please give me some guidance? Under what circumstances are MySQL transactions enabled?
邓2018-05-12 08:51:47
The transaction usage scenario I understand is that the data needs to be jointly changed, such as payment, one needs to be subtracted and the other needs to be added. If it is subtracted but not added, there will be a problem. At this time, transactions can be used without completing the entire process. The previous operations are invalid
oswell2018-05-12 08:34:16
When operating multiple tables (checks are not counted, referring to additions, deletions, and modifications), you can use transactions