SremCommand: Contents
  SREM _key_ _member_
    Return value
    See also

SremCommand

SREM _key_ _member_

Time complexity O(1)
Remove the specified member from the set value stored at key. If_member_ was not a member of the set no operation is performed. If keydoes not hold a set value an error is returned.

Return value

Integer reply, specifically:

1 if the new element was removed
0 if the new element was not a member of the set

See also