From 7492bbe9f52a655bac2480f069083aaf220ac01b Mon Sep 17 00:00:00 2001 From: antirez Date: Sun, 14 Jun 2009 23:22:09 +0200 Subject: [PATCH] SPOP documented --- Changelog | 9 +++++++++ doc/CommandReference.html | 2 +- doc/SpopCommand.html | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 doc/SpopCommand.html diff --git a/Changelog b/Changelog index b89a1989..0ce9bb4b 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,12 @@ +2009-06-14 Clojure library thanks to Ragnar Dahlén +2009-06-10 It is now possible to specify - as config file name to read it from stdin +2009-06-10 sync with jodosha redis-rb +2009-06-10 Redis-rb sync +2009-06-10 max inline request raised again to 1024*1024*256 bytes +2009-06-10 max bytes in an inline command raised to 1024*1024 bytes, in order to allow for very large MGETs and still protect from client crashes +2009-06-08 SPOP implemented. Hash table resizing for Sets and Expires too. Changed the resize policy to play better with RANDOMKEY and SPOP. +2009-06-07 some minor changes to the backtrace code +2009-06-07 enable backtrace capabilities only for Linux and MacOSX 2009-06-07 Dump a backtrace on sigsegv/sigbus, original coded thanks to Diego Rosario Brogna, modified in order to work on different OSes and to enhance reliability 2009-06-06 Merge git://github.com/dierbro/redis 2009-06-06 add more output diff --git a/doc/CommandReference.html b/doc/CommandReference.html index aa1f0e9f..d44fb1e1 100644 --- a/doc/CommandReference.html +++ b/doc/CommandReference.html @@ -30,7 +30,7 @@

Commands operating on string values

Commands operating on the key space

Commands operating on lists

-

Commands operating on sets

+

Commands operating on sets

Multiple databases handling commands

Sorting

Persistence control commands

diff --git a/doc/SpopCommand.html b/doc/SpopCommand.html new file mode 100644 index 00000000..9819a60c --- /dev/null +++ b/doc/SpopCommand.html @@ -0,0 +1,39 @@ + + + + + + + +
+ + + +
+
+ +SpopCommand: Contents
  SPOP _key_
    Return value
    See also +
+ +

SpopCommand

+ +
+ +
+ +
+

SPOP _key_

+Time complexity O(1)
Pop a random element from a Set, and return it to the caller. If the key does not exist or if the key contains an empty Set a special 'nil' value is returned.
+

Return value

bulk reply

See also

+ +
+ +
+
+ + + -- 2.47.2