Redis list length.
Return the length of the Redis list associated with the specified key.
redisLLen(key)
key |
The key to look up. |
Returns the length of the Redis list associated with key
.
If the key is not found, or if the list is empty, 0 is returned. If the
key is associated with a value of type other than 'list,' an error is
thrown.
The length if the list.
B. W. Lewis
http://redis.io/commands
redisBRpop
## Not run: redisConnect() redisLPush('list',1) redisLPush('list',2) redisLPush('list',3) redisLLen('list') ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.