-
-
Save yblee85/e54817f1b66835f5b846120f0ca7f471 to your computer and use it in GitHub Desktop.
Redis: How delete keys matching a pattern?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
redis-cli KEYS "prefix:*" | xargs redis-cli DEL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment