You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2014/01/16 21:41:19 UTC

[jira] [Created] (CASSANDRA-6599) CQL updates should support "column = column - { key1, key2, ... }" syntax for removing map elements

Gavin created CASSANDRA-6599:
--------------------------------

             Summary: CQL updates should support "column = column - { key1, key2, ... }" syntax for removing map elements
                 Key: CASSANDRA-6599
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6599
             Project: Cassandra
          Issue Type: Wish
            Reporter: Gavin
            Priority: Minor


A variable number number of elements can be removed from lists and sets using an update statement of the form "update .... set column=column - {....} where ...".  This syntax should also be supported for map columns.  This would be especially useful for prepared statements (I know that you can use "set column[...] = null" to remove items in an update statement, but that only works for one element at a time).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)