Increment the score of a member.
redis.zadd("myset", {"one": 1, "two": 2, "three": 3}) assert redis.zincrby("myset", 2, "one") == 3
The key of the sorted set.
The increment to add to the score.
The member to increment.
The new score of member after the increment operation.
member
Was this page helpful?