zrange
Retrieve a specific range of members from a sorted set by index, optionally including their scores, to manage and access Redis database data efficiently.
Instructions
Return a range of members from a sorted set by index
Input Schema
Name | Required | Description | Default |
---|---|---|---|
key | Yes | Sorted set key | |
start | Yes | Start index (0-based) | |
stop | Yes | Stop index (inclusive) | |
withScores | No | Include scores in output |