redis通用命令

发布时间 2023-04-03 16:55:11作者: 唯?独爱你

1、keys * :查看所有键

2、exists key:判断key是否存在,1表示存在,0表示不存在

3、del key1 key2...:删除key

4、type key:获取key的类型