X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/81d456450ac42b7cf78367ae3a89af1a543c9ff1..8fb13ce816b85ac414921ecca420671bf74a3eea:/doc/RpushCommand.html diff --git a/doc/RpushCommand.html b/doc/RpushCommand.html new file mode 100644 index 00000000..18376bc1 --- /dev/null +++ b/doc/RpushCommand.html @@ -0,0 +1,40 @@ + + + + + + + +
+ + + +
+
+ +RpushCommand: Contents
      RPUSH _key_ _string_
      LPUSH _key_ _string_
    Return value +
+ +

RpushCommand

+ +
+ +
+ +
+ #sidebar ListCommandsSidebar

RPUSH _key_ _string_

+

LPUSH _key_ _string_

+Time complexity: O(1)
Add the string value to the head (RPUSH) or tail (LPUSH) of the liststored at key. If the key does not exist an empty list is created just beforethe append operation. If the key exists but is not a List an erroris returned.
+

Return value

Status code reply + +
+ +
+
+ + +