From 89328c92445726df3b513da6dd410fd4403bd233 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 21 May 2010 13:59:16 +0200 Subject: [PATCH] html doc updated --- doc/RpushCommand.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/RpushCommand.html b/doc/RpushCommand.html index 18376bc16..d7fe7de5a 100644 --- a/doc/RpushCommand.html +++ b/doc/RpushCommand.html @@ -28,8 +28,8 @@
#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 +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.