redis key 命令
keys * ?/key my? ? ? ? ? ? ? ? ? ?--查看所有的key del key1 key2 key3 ? ? ? --刪除key exists my1 ? ? ? ? ? ? ? ? --key是否存在 rename company newcompany ? --key重命名 expire newcompany 1000 --設置過期時間 ttl newcompany ? ? ?--查看剩余超時時間 type newcompany ? -- 查看類型
2017-08-26
good