Which way is better to implement a thread-safe Counter in a database?

前端 未结 0 906
萌比男神i
萌比男神i 2020-11-28 23:01

I have a table:

CREATE TABLE COUNTER (ID VARCHAR(256), VALUE INT)

where ID is the primary key.

I want to implement a mechanism for inc

相关标签:
回答
  • 消灭零回复
提交回复
热议问题