Returns one or more random members from a sorted set, optionally with their scores.
The key of the sorted set
The number of members to return
Whether to return the scores along with the members
The random member(s) from the sorted set
If no count is specified, a single member is returned. If count is specified, a list of members is returned.
If withscores, members are returned as a tuple of (member, score).
Returns one or more random members from a sorted set, optionally with their scores.
The key of the sorted set
The number of members to return
Whether to return the scores along with the members
The random member(s) from the sorted set
If no count is specified, a single member is returned. If count is specified, a list of members is returned.
If withscores, members are returned as a tuple of (member, score).