Learn R Programming

rredis (version 1.7.0)

redisZCard: redisZCard.Rd

Description

Report the number of elements in a sorted set.

Usage

redisZCard(key)

Arguments

key
The name of the set.

Value

The number of elements in the set or zero if the set does not exist. An error is thrown if the key name exists but is not a set.

Details

See the Redis documentation for details.

References

http://redis.io/commands