List
LLEN
Returns the length of the list stored at key.
Arguments
keybodystrrequired
The key of the list.
Response
intrequired
The length of the list at key.
Example
redis.rpush("key", "a", "b", "c")assert redis.llen("key") == 3Returns the length of the list stored at key.
The key of the list.
The length of the list at key.
redis.rpush("key", "a", "b", "c")assert redis.llen("key") == 3