If something goes wrong, the catch block rolls back all changes made since the transaction was started, and then prints out an error message.

 
  • 如果发生了错误,catch块可以回滚事务开始以来发生的所有更改,并打印出一条错误消息。
今日热词
目录 附录 查词历史