Skip to content

Instantly share code, notes, and snippets.

@arielallon
Created December 2, 2014 17:49
Show Gist options
  • Select an option

  • Save arielallon/550e2a84b1c3d6770363 to your computer and use it in GitHub Desktop.

Select an option

Save arielallon/550e2a84b1c3d6770363 to your computer and use it in GitHub Desktop.
Redis DEL keys matching 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