Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Redis 2.0 RPUSH and LPUSH returns integer reply not inline as in 1.2.6 #30

Closed
GoogleCodeExporter opened this issue Nov 3, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

RPUSH key string
LPUSH key string
Time complexity: O(1)

Add the string value to the head (LPUSH) or tail (RPUSH) of the list stored at 
key. If the key does not exist an empty list is created just before the append 
operation. If the key exists but is not a List an error is returned.
Return value

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

Original issue reported on code.google.com by romf...@gmail.com on 15 Sep 2010 at 8:47

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r51.

Original comment by romf...@gmail.com on 28 Sep 2010 at 12:32

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant