X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/924aa408b99837036b679bd3895f836af6bc763f..a89b7013ff5aa27fae4d1f7d45615349c3ab7300:/doc/LpopCommand.html diff --git a/doc/LpopCommand.html b/doc/LpopCommand.html index 02f26c93..58dffb93 100644 --- a/doc/LpopCommand.html +++ b/doc/LpopCommand.html @@ -16,7 +16,7 @@
-LpopCommand: Contents
  LPOP _key_
  RPOP _key_
    Return value
    See also +LpopCommand: Contents
  LPOP _key_
  RPOP _key_
    Return value

LpopCommand

@@ -26,12 +26,12 @@
-

LPOP _key_

+ #sidebar ListCommandsSidebar

LPOP _key_

RPOP _key_

Time complexity: O(1)
Atomically return and remove the first (LPOP) or last (RPOP) elementof the list. For example if the list contains the elements "a","b","c" LPOPwill return "a" and the list will become "b","c".
If the key does not exist or the list is already empty the specialvalue 'nil' is returned.
-

Return value

Bulk reply

See also

- +

Return value

Bulk reply +