调用这个方法时,它会递增计数器的计数。
有一个方法递增计数器,还有一个方法清除计数器,这就够了!
There's a method to increment the counter and a method to clear it, and that's it!
向数据库添加触发器,以便对该表中的记录的每个更新都会导致修订计数器递增。
We add a trigger to database so that every update to a record in the table increments the revision counter.
应用推荐