[ad_1]
반응형
redis-cli keys *
type <key>
and depending on the response perform:
- for “string”:
get <key>
- for “hash”:
hgetall <key>
- for “list”:
lrange <key> 0 -1
- for “set”:
smembers <key>
- for “zset”:
zrange <key> 0 -1 withscores
smembers ” munit :Pending”
SMOVE ” munit :Pending” ” munit :Confirmed” “00000000000004f49dab1fb7ff017f01a496954ff547ccb4e2ae901c77b6e521:798023e30d94c6a32353465c227aa638ad8a88aebbf74bfdd482b7af3ea205bb:291436:7p9eXttXpPXFH7z3qTf8rCyoE4TDsN38iB:1513127549:3600000000”
hgetall ” mmm :stats”
hincrby ” mmm :stats” “validBlocks” -1
hdel “filed4”
flushall
반응형
[ad_2]
Source link