X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/029524dbff9b076a5d1b7b97428981519e34886b..12ebe2ac17a26ecf263f90b2acdf03db29b00223:/doc/LlenCommand.html diff --git a/doc/LlenCommand.html b/doc/LlenCommand.html index e1284a31..07072a42 100644 --- a/doc/LlenCommand.html +++ b/doc/LlenCommand.html @@ -16,7 +16,7 @@
-LlenCommand: Contents
  LLEN _key_
    Return value
    See also +LlenCommand: Contents
  LLEN _key_
    Return value

LlenCommand

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

LLEN _key_

+ #sidebar ListCommandsSidebar

LLEN _key_

Time complexity: O(1)
Return the length of the list stored at the specified key. If thekey does not exist zero is returned (the same behaviour as forempty lists). If the value stored at key is not a list an error is returned.

Return value

Integer reply, specifically:

-The length of the list as an integer `>=` 0 if the operation succeeded
--2 if the specified key does not hold a list value
-
Note that library clients should raise an error if -2 is returned by the Redis server instead to pass the negative value back to the caller.

See also

- +The length of the list. + +