文件名称:redis-in-action:《 redis实战》源码PHP版
文件大小:569KB
文件格式:ZIP
更新时间:2024-04-13 00:20:34
系统开源
学习总结 1.set与zset重置zunionstore,set的得分为1 >>> smembers job php java python >>> zrange job:weight 0 -1 withscores js 1 php 2 java 3 python 4 >>> zunionstore union:job:weight 2 job job:weight >>> zrange union:job:weight 0 -1 withscores js 1 php 3 java 4 python 5 2.匹配有序集合的某个分数,不能用zrangebyscore >>> smembers job job1 job2 job3 job4 >>> zrange skill:year 0 -1 withscores job1 1 job2 2 job