Don't delete them either!
On Friday, March 1, 2013, Alain RODRIGUEZ wrote:
> "DO *NOT* USE THAT!!!"
>
> Crystal clear ;-). Thanks for the warning.
>
> Alain
>
> 2013/3/1 Sylvain Lebresne
>>>
>>> On C* 1.2.1 I see that the following query works:
>>>
>>>update counters set value=value+5 where o
"DO *NOT* USE THAT!!!"
Crystal clear ;-). Thanks for the warning.
Alain
2013/3/1 Sylvain Lebresne
> On C* 1.2.1 I see that the following query works:
>>
>>update counters set value=value+5 where owner_id='1' and
>> counter_type='trash';
>>
>> ...while the following one gives an error (Ba
>
> On C* 1.2.1 I see that the following query works:
>
>update counters set value=value+5 where owner_id='1' and
> counter_type='trash';
>
> ...while the following one gives an error (Bad Request: Invalid
> non-counter operation on counter table):
>
>update counters set value=5 where owner
Greetings.
On this document:
http://cassandra.apache.org/doc/cql3/CQL.html#updateStmt
…I read, under UPDATE section, that:
"The c = c + 3 form of is used to increment/decrement counters.
The identifier after the ‘=’ sign must be the same than the one before the ‘=’
sign (Only increment/dec