zrevrange
This block is part of the redis group and was last modified in core v15.0.3.
Redis Key Selection Required
This block relies on a Redis key to perform its redis releated actions. You must manually select the Redis key you want to use in the flow in the blueprint using the Redis key selector modal. To access the modal, click the white button on the block.
zrevrange v15.0.3 Reads the members of a sorted set by position, highest score first.
- flow
- set
valuerequiredkey of the sorted set
- offset
number - limit
number - include scores
condition
- flow
- results
array - success
condition - error
value - key
value
offset skips that many members from the top and limit caps how many are returned (missing or negative: to the end; 0: none). with_scores returns {member, score} objects instead of member strings, the shape redis_zrangebyscore returns. A negative or unreadable offset is INVALID_OFFSET, an unreadable limit INVALID_LIMIT. Example: offset 0, limit 10, with_scores true is a top ten.
redis zrevrange |
zrevrange |
leaderboard |
Version history
Introduced in v15.0.3.
Service documentation
External API reference This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.Back to
redis Return to the main group to view all sub-groups Back to redis sorted sets Return to the group to view all blocks within this group