Sunday, 12 April 2015

LLEN key

Syntax
LLEN key
    Returns the length of the list.

127.0.0.1:6379> lpush ids 2 3 5 7 11 13 17 
(integer) 7 
127.0.0.1:6379> lrange ids 0 7 
1) "17" 
2) "13" 
3) "11" 
4) "7" 
5) "5" 
6) "3" 
7) "2" 
127.0.0.1:6379> llen ids 
(integer) 7 


Prevoius                                                 Next                                                 Home

No comments:

Post a Comment