I know how to remove an entire super column, but not an individual key within. My google kung fu has failed me.

so, to remove a super column:

cf_accounts.remove('key', ['super_column'])

Am I barking up the wrong tree?

Help appreciated.

有帮助吗?

解决方案

You need to use the super_column parameter.

cf.remove('key', super_column='super_column', columns=['sub_column'])

With that said, @the paul's advice is definitely sound.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top