await redis.zadd("key", { score: 1, member: "m1" }, { score: 2, member: "m2" }, ) const res = await redis.zrange("key", 1, 3) console.log(res) // ["m2"]
Returns the specified range of elements in the sorted set stored at key.
Show child attributes
withScores
[TMember, number, TMember, number, ...]
Was this page helpful?