await redis.sadd("set", "a", "b", "c"); const members = await redis.smembers("set"); console.log(members); // ["a", "b", "c"]
Return all the members of a set
Was this page helpful?