incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grga Pitich <tektona...@gmail.com>
Subject datastax QueryBuilder update
Date Sat, 30 Nov 2013 06:17:04 GMT
Can someone please explain how to do update using datastax QueryBuilder
java API 1.04. I've tried:

Query update = QueryBuilder
                .update("demo", "user")
                .with(set("col1", "val1"))
                .and(set("col2","val2"))
                .where(eq("col3","val3"));

but this doesn't compile!

Many Thanks.

Mime
View raw message