X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/029524dbff9b076a5d1b7b97428981519e34886b..12ebe2ac17a26ecf263f90b2acdf03db29b00223:/doc/RpushCommand.html diff --git a/doc/RpushCommand.html b/doc/RpushCommand.html index e22c8b57..d7fe7de5 100644 --- a/doc/RpushCommand.html +++ b/doc/RpushCommand.html @@ -16,7 +16,7 @@
-RpushCommand: Contents
      RPUSH _key_ _string_
      LPUSH _key_ _string_
    Return value
    See also +RpushCommand: Contents
      RPUSH _key_ _string_
      LPUSH _key_ _string_
    Return value

RpushCommand

@@ -26,11 +26,11 @@
-

RPUSH _key_ _string_

+ #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

See also

- +Time complexity: O(1)
Add the string value to the head (LPUSH) or tail (RPUSH) 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

Integer reply, specifically, the number of elements inside the list after the push operation. +