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