incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clint Kelly <clint.ke...@gmail.com>
Subject Resetting a counter in CQL
Date Sat, 01 Mar 2014 00:32:48 GMT
Folks,

What is the best known method for resetting a counter in CQL?  Is it best
to read the counter and then increment it by a negative amount?  Or to
delete the row and then increment it by zero?

These are the two methods I could come up with.  Both of these seem fine to
me---I'm just wondering if there is a standard way to do this.  Thanks!

Best regards,
Clint

Mime
View raw message