SCARD
Since 1.1.0Sets
Syntax
SCARD keyReturns the number of members of the set at key.
Reply
- The count;
0if the key does not exist.
Examples
> SADD s a b c
(integer) 3
> SCARD s
(integer) 3
Since 1.1.0Sets
SCARD keyReturns the number of members of the set at key.
0 if the key does not exist.> SADD s a b c
(integer) 3
> SCARD s
(integer) 3