可以使用KEYS 命令
KEYS pattern
例如,
列出所有的key
redis> keys *
列出匹配的key
redis>keys apple* 1) apple1 2) apple2
http://redisdoc.com/key/keys.html
Powered by: 博客园 Copyright © 2024 翔云123456 Powered by .NET 9.0 on Kubernetes