Using sort one can sort a set and get external keys using results from the sort component of query.
By way of example:
- If the external key/value are defined as various keys using the pattern:
itemkey:<somestring>
- And a sorted list has list of the members then issuing command
sort <lists key> by nosort get itemkey:*
would get the values of the referenced keys.
I would like to be able to sort through a sorted list and delete these individual keys but it appears that sort <key> by nosort del itemkey:*
is not supported.
Any suggestions on how to get list of values stored in a set and then delete the external keys?
Obviously I can do this with two commands, first getting the list of values and then by iterating through list call the delete function - but this is not desirable as I requite atomic operation.