X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/924aa408b99837036b679bd3895f836af6bc763f..12ebe2ac17a26ecf263f90b2acdf03db29b00223:/doc/LindexCommand.html diff --git a/doc/LindexCommand.html b/doc/LindexCommand.html index 3bc903bb..0e36634b 100644 --- a/doc/LindexCommand.html +++ b/doc/LindexCommand.html @@ -16,7 +16,7 @@
Return the specified element of the list stored at the specifiedkey. 0 is the first element, 1 the second and so on. Negative indexesare supported, for example -1 is the last element, -2 the penultimateand so on.-
If the value stored at key is not of list type an error is returned.If the index is out of range an empty string is returned.+
If the value stored at key is not of list type an error is returned.If the index is out of range a 'nil' reply is returned.
Note that even if the average time complexity is O(n) asking forthe first or the last element of the list is O(1).-