Skip to content

Instantly share code, notes, and snippets.

@tzach
Created February 24, 2019 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tzach/af655d2e288a50575e1e7646e74142a8 to your computer and use it in GitHub Desktop.
Save tzach/af655d2e288a50575e1e7646e74142a8 to your computer and use it in GitHub Desktop.
CREATE KEYSPACE mykeyspace WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'} AND durable_writes = true;
UPDATE cf SET my_counter = my_counter + 6 WHERE pk = 0;
SELECT * FROM cf;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment