X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/efc3408748061a08ec5ff18e392c30f31f5094a2..06e09c9b586d0e2c5d91dc596f871be56c6e0971:/doc/SaddCommand.html diff --git a/doc/SaddCommand.html b/doc/SaddCommand.html deleted file mode 100644 index 57c2dfad..00000000 --- a/doc/SaddCommand.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - -
- - - -
-
- -SaddCommand: Contents
  SADD _key_ _member_
    Return value -
- -

SaddCommand

- -
- -
- -
- #sidebar SetCommandsSidebar

SADD _key_ _member_

-Time complexity O(1)
Add the specified member to the set value stored at key. If memberis already a member of the set no operation is performed. If keydoes not exist a new set with the specified member as sole member iscreated. If the key exists but does not hold a set value an error isreturned.
-

Return value

Integer reply, specifically:

-1 if the new element was added
-0 if the element was already a member of the set
-
-
- -
-
- - -