filmov
tv
Redis Tutorial for Beginners 10 - Redis Sorted Sets
Показать описание
ZREVRANGEBYLEX key max min [LIMIT offset count]
Return a range of members in a sorted set, by lexicographical range, ordered from higher to lower strings.
ZRANGEBYSCORE key min max [WITHSCORES] [LIMIT offset count]
Return a range of members in a sorted set, by score
ZRANK key member
Determine the index of a member in a sorted set
ZREM key member [member ...]
Remove one or more members from a sorted set
ZREMRANGEBYLEX key min max
Remove all members in a sorted set between the given lexicographical range
ZREMRANGEBYRANK key start stop
Remove all members in a sorted set within the given indexes
ZREMRANGEBYSCORE key min max
Remove all members in a sorted set within the given scores
ZREVRANGE key start stop [WITHSCORES]
Return a range of members in a sorted set, by index, with scores ordered from high to low
ZREVRANGEBYSCORE key max min [WITHSCORES] [LIMIT offset count]
Return a range of members in a sorted set, by score, with scores ordered from high to low
ZREVRANK key member
Determine the index of a member in a sorted set, with scores ordered from high to low
ZSCORE key member
Get the score associated with the given member in a sorted set
ZUNIONSTORE destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX]
Add multiple sorted sets and store the resulting sorted set in a new key
ZSCAN key cursor [MATCH pattern] [COUNT count]
Incrementally iterate sorted sets elements and associated scores
★★★Top Online Courses From ProgrammingKnowledge ★★★
★★★ Online Courses to learn ★★★
★★★ Follow ★★★
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Return a range of members in a sorted set, by lexicographical range, ordered from higher to lower strings.
ZRANGEBYSCORE key min max [WITHSCORES] [LIMIT offset count]
Return a range of members in a sorted set, by score
ZRANK key member
Determine the index of a member in a sorted set
ZREM key member [member ...]
Remove one or more members from a sorted set
ZREMRANGEBYLEX key min max
Remove all members in a sorted set between the given lexicographical range
ZREMRANGEBYRANK key start stop
Remove all members in a sorted set within the given indexes
ZREMRANGEBYSCORE key min max
Remove all members in a sorted set within the given scores
ZREVRANGE key start stop [WITHSCORES]
Return a range of members in a sorted set, by index, with scores ordered from high to low
ZREVRANGEBYSCORE key max min [WITHSCORES] [LIMIT offset count]
Return a range of members in a sorted set, by score, with scores ordered from high to low
ZREVRANK key member
Determine the index of a member in a sorted set, with scores ordered from high to low
ZSCORE key member
Get the score associated with the given member in a sorted set
ZUNIONSTORE destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX]
Add multiple sorted sets and store the resulting sorted set in a new key
ZSCAN key cursor [MATCH pattern] [COUNT count]
Incrementally iterate sorted sets elements and associated scores
★★★Top Online Courses From ProgrammingKnowledge ★★★
★★★ Online Courses to learn ★★★
★★★ Follow ★★★
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Комментарии