incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Hobbs <ty...@datastax.com>
Subject Re: Counter add in 'batch'
Date Sat, 25 Feb 2012 00:18:27 GMT
On Tue, Feb 21, 2012 at 4:00 PM, A J <s5alye@gmail.com> wrote:

> Hello
> Is there a way to incorporate counter CF add operations in batch ? I
> just tried with pycassa and it seems to just allow
> insert/update/remove operations but not counter add operations.
>
> Thanks.
>

If you're using the batch interface (Mutator, CfMutator), the insert()
method works for counters.  It should behave the same as add().

-- 
Tyler Hobbs
DataStax <http://datastax.com/>

Mime
View raw message