Brother Lian (python)--------------------Radis daily Essays

Source: Internet
Author: User

Redis

Zset ordered Collection

Zadd command

Zadd Runoob 0 Redis add

Zrem Runoob Redis Removal

Zarangebyscore command (value in query list)

Zincrby Zset 2 One if one exists, the order is incremented by 2, and if one exists, add

Zrank Zset one return one ranked in Zset (from small to large)

Zrevrank Zset One return one ranking in Zeset (from big to small)

Zrange zset 0-1 withscores Small to large sort

Zrevrange zset 0-1 withscores from big to small

Zcount Zset 2 3 Returns the number of a given interval in the collection

Zcard Zset Returns the number of elements in the collection

Zscore Zset One returns score in the one element

Zremrangebyrank Zset 1 2 Remove score from Zset to small sort results from 1-2

Brother Lian (python)--------------------Radis daily Essays

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.