Hey all,
I was using bucket.counter(“counterName”,1,0); Where 1 is the step size and 0 is the initial value. But then after a while I wanted my counter to start from 1000 for example but using bucket.counter(“counterName”,1,1000) still kept continuing from where the left off before. After some investigation I noticed that if I use ‘select * from myBucket’ that value would be displayed as a single document with a single value.
So my question is, is there a way to access these documents and change that value either through Java or from the Couchbase UI?
Thank you!