I want to know if only lrange
can get the list in Redis
? It needs an end
parameter, and if I want a complete list, I have to use llen
to get the length first. Like this:
redis.lrange("myList", 0, llen("myList"));
Is there any method that can get the complete list directly?
source share