X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/fab3a740ab3f4eb4e5f1697973150f516b7c8d38..5ce3a24dbaec87d3fc38c52cb2bcd631dff1a968:/doc/SremCommand.html diff --git a/doc/SremCommand.html b/doc/SremCommand.html index 6219e92c..e5aab23e 100644 --- a/doc/SremCommand.html +++ b/doc/SremCommand.html @@ -16,7 +16,7 @@
-SremCommand: Contents
  SREM _key_ _member_
    Return value
    See also +SremCommand: Contents
  SREM _key_ _member_
    Return value

SremCommand

@@ -26,14 +26,13 @@
-

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 exist or does not hold a set value an error is returned.
+ #sidebar SetCommandsSidebar

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
--2 if the key does not hold a set value
-

See also

- + +