Whenever you are writing data to a database is good practice to use a transaction to prevent concurrent writes to the database.

  • 不论你什么时候把数据写入数据库里,用事务来防止同时写入数据库是一个很好的办法。
目录 查词历史