Description Usage Arguments Value Author(s) References See Also Examples
Return the number of elements contained in the specified set.
1 | 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
1 2 3 4 5 6 | ## Not run:
redisConnect()
redisSAdd("set",5)
redisSCard("set")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.