await redis.lpush("key", "a", "b", "c"); const elements = await redis.lrange("key", 1, 2); console.log(elements) // ["b", "c"]
Returns the specified elements of the list stored at key.
Was this page helpful?