Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
全新的redis。我已经点击了 redis-cli,我希望有一些简单的方法可以查看当前存储在 redis 中的对象......就像"show collections"在Mongo. 我如何在 Redis 中执行此操作?
"show collections"
Mongo
尝试键 *
http://redis.io/commands/keys
redis> MSET one 1 two 2 three 3 four 4 OK redis> KEYS *o* 1) "one" 2) "two" 3) "four" redis> KEYS t?? 1) "two" redis> KEYS * 1) "one" 2) "two" 3) "four" 4) "three" redis>