美文网首页
help @sorted_set

help @sorted_set

作者: 星空星晴 | 来源:发表于2017-10-24 11:30 被阅读0次

    127.0.0.1:6379> help @sorted_set

    ZADD key score member [score member ...]

    summary: Add one or more members to a sorted set, or update its score if it already exists

    since: 1.2.0

    ZCARD key

    summary: Get the number of members in a sorted set

    since: 1.2.0

    ZCOUNT key min max

    summary: Count the members in a sorted set with scores within the given values

    since: 2.0.0

    ZINCRBY key increment member

    summary: Increment the score of a member in a sorted set

    since: 1.2.0

    ZINTERSTORE destination numkeys key [key ...] [WEIGHTS weight] [AGGREGATE SUM|MIN|MAX]

    summary: Intersect multiple sorted sets and store the resulting sorted set in a new key

    since: 2.0.0

    ZRANGE key start stop [WITHSCORES]

    summary: Return a range of members in a sorted set, by index

    since: 1.2.0

    ZRANGEBYSCORE key min max [WITHSCORES] [LIMIT offset count]

    summary: Return a range of members in a sorted set, by score

    since: 1.0.5

    ZRANK key member

    summary: Determine the index of a member in a sorted set

    since: 2.0.0

    ZREM key member [member ...]

    summary: Remove one or more members from a sorted set

    since: 1.2.0

    ZREMRANGEBYRANK key start stop

    summary: Remove all members in a sorted set within the given indexes

    since: 2.0.0

    ZREMRANGEBYSCORE key min max

    summary: Remove all members in a sorted set within the given scores

    since: 1.2.0

    ZREVRANGE key start stop [WITHSCORES]

    summary: Return a range of members in a sorted set, by index, with scores ordered from high to low

    since: 1.2.0

    ZREVRANGEBYSCORE key max min [WITHSCORES] [LIMIT offset count]

    summary: Return a range of members in a sorted set, by score, with scores ordered from high to low

    since: 2.2.0

    ZREVRANK key member

    summary: Determine the index of a member in a sorted set, with scores ordered from high to low

    since: 2.0.0

    ZSCORE key member

    summary: Get the score associated with the given member in a sorted set

    since: 1.2.0

    ZUNIONSTORE destination numkeys key [key ...] [WEIGHTS weight] [AGGREGATE SUM|MIN|MAX]

    summary: Add multiple sorted sets and store the resulting sorted set in a new key

    since: 2.0.0

    相关文章

      网友评论

          本文标题:help @sorted_set

          本文链接:https://www.haomeiwen.com/subject/pjytpxtx.html