Not Really Programming on Purpose
Tuesday, December 2, 2014
How to delete multiple keys in Redis
At the command prompt:
#redis-cli KEYS "some-prefix*" | xargs redis-cli DEL
where "some-prefix" is the key prefix you want to delete.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment