How to update atomic counter with n1ql?

Hi Moono326,
Note that the value here is a scalar/basic type, unlike a typical JSON object with key/value pairs. Hence the syntax. It will help if you can clarify why you feel it is weird, or any suggestion to make it better.

thanks.
-Prasad