Set cardinality
Return the number of elements contained in the specified set.
redisSCard(set)
set |
A string set identifier. |
The function returns an integer corresponding to the number of elements in the set. Zero is returned if the set is empty or if the set does not exist.
B. W. Lewis
http://redis.io/commands
## Not run: redisConnect() redisSAdd("set",5) redisSCard("set") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.