You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Grga Pitich <te...@gmail.com> on 2013/11/30 07:17:04 UTC

datastax QueryBuilder update

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.