Skip to content

Instantly share code, notes, and snippets.

@HarasimowiczKamil
Created March 1, 2016 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HarasimowiczKamil/a0be1d1e4cb72db156d5 to your computer and use it in GitHub Desktop.
Save HarasimowiczKamil/a0be1d1e4cb72db156d5 to your computer and use it in GitHub Desktop.
usefull commands
// remove keys matching to pattern
EVAL "return redis.call('del', unpack(redis.call('keys', ARGV[1])))" 0 prefix:*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment