Created
October 10, 2025 19:15
-
-
Save jamisonbryant/3bae583534c84f18f366aca9ffd24a31 to your computer and use it in GitHub Desktop.
Display Redis Keys matching a pattern & show type
This file contains hidden or 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
| EVAL "local keys = redis.call('KEYS', ARGV[1]); local result = {}; for i, key in ipairs(keys) do result[#result+1] = key; result[#result+1] = redis.call('TYPE', key).ok end; return result" 0 "*mypattern*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment