I wanna know if only lrange could get a List in Redis? It needs the end parameter, and if I wanna the full List, I must use llen to get the length first. Like this:
redis.lrange("myList", 0, llen("myList"));
Whether there’s any method can get a full List directly?
You can use -1 as an index of last element. This will get you the whole list:
And this will get whole list but the last element
And so forth…
By the way, it’s all written in the documentation.