Return how many members are in a set
redis.sadd("key", "a", "b", "c"); assert redis.scard("key") == 3
The key of the set.
How many members are in the set.
Was this page helpful?