Set
SRANDMEMBER
Returns one or more random members from a set.
Arguments
The key of the set.
How many members to return.
Response
The random member.
If count
is specified, an array of members is returned.
Was this page helpful?
Returns one or more random members from a set.
The key of the set.
How many members to return.
The random member.
If count
is specified, an array of members is returned.
Was this page helpful?