https://www.runoob.com/redis/redis-sets.html
string-1:get key value=1
string-单字段:get key value=字段值;
string-pb:get key value=字段值;
string-json:get key,value=字段值;
list: lrange key 0 -1,value=字段值;
set :srandmember key 20,value=字段值
hash:hgetall key,value=字段值
备注:list不去重,有序字符串;
set 去重,无序字符串;
hash,不去重,字符串
set/hash,可配置key追加不覆盖
hive2redis各种命令集合
最新推荐文章于 2023-01-23 23:10:01 发布