Skip to content

Instantly share code, notes, and snippets.

@thobbs
Created March 4, 2013 19:16
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 thobbs/5084646 to your computer and use it in GitHub Desktop.
Save thobbs/5084646 to your computer and use it in GitHub Desktop.
cqlsh:keyspace1> UPDATE mentions SET mentions = 3 WHERE day = '01/05/11' AND item = 'acunu' AND time = 1;
cqlsh:keyspace1> select * from mentions;
day | item | time | mentions
----------+-------+------+----------
01/05/11 | acunu | 1 | 3
cqlsh:keyspace1> UPDATE mentions SET mentions = 5 WHERE day = '01/05/11' AND item = 'acunu' AND time = 2;
cqlsh:keyspace1> select * from mentions;
day | item | time | mentions
----------+-------+------+----------
01/05/11 | acunu | 1 | 3
01/05/11 | acunu | 2 | 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment