Set
SPOP
Removes and returns one or more random members from a set.
Arguments
The key of the set.
How many members to remove and return.
Response
The popped member.
If count
is specified, a set of members is returned.
Was this page helpful?
Removes and returns one or more random members from a set.
The key of the set.
How many members to remove and return.
The popped member.
If count
is specified, a set of members is returned.
Was this page helpful?