X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/efc3408748061a08ec5ff18e392c30f31f5094a2..06e09c9b586d0e2c5d91dc596f871be56c6e0971:/doc/SpopCommand.html diff --git a/doc/SpopCommand.html b/doc/SpopCommand.html deleted file mode 100644 index 0a943c65..00000000 --- a/doc/SpopCommand.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - -
- - - -
-
- -SpopCommand: Contents
  SPOP _key_
    Return value -
- -

SpopCommand

- -
- -
- -
- #sidebar SetCommandsSidebar

SPOP _key_

-Time complexity O(1)
Remove a random element from a Set returning it as return value.If the Set is empty or the key does not exist, a nil object is returned.
-
The SRANDMEMBER command does a similar work butthe returned element is not removed from the Set.
-

Return value

Bulk reply - -
- -
-
- - -