X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/ed9b544e10b84cd43348ddfab7068b610a5df1f7..570333015147ce01646ff61e50afc210a12408db:/doc/SaddCommand.html diff --git a/doc/SaddCommand.html b/doc/SaddCommand.html index ed3258ca..3c50a708 100644 --- a/doc/SaddCommand.html +++ b/doc/SaddCommand.html @@ -30,10 +30,9 @@ 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 iscrated. 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 new element was already a member of the set
--2 if the key contains a non set value
+0 if the element was already a member of the set
 

See also

- +