How can I create a counter type field?

I need to count unread messages. And I know that Cassandra has a counter type field.

How can I do this with a cockroach best?

Hi @ivan.s
This forum post describes a way to make a “distributed” counter in CockroachDB.

Technical Support Engineer