Cassandra Delete by Secondary Index or By Allowing Filtering

前端 未结 3 1344
轮回少年
轮回少年 2020-12-30 06:35

I’m trying to delete by a secondary index or column key in a table. I\'m not concerned with performance as this will be an unusual query. Not sure if it’s possible? E.g.:

3条回答
  •  Happy的楠姐
    2020-12-30 07:06

    When you have your secondary index you can select all rows from that index. When you have your rows you know the primary key and can then delete the rows.

提交回复
热议问题