ZCARD
Syntax
ZCARD key
- Available since:
- 1.2.0
- Time complexity:
- O(1)
- ACL categories:
-
@read
,@sortedset
,@fast
,
Returns the sorted set cardinality (number of elements) of the sorted set stored
at key
.
Fully managed and integrated with Google Cloud, Azure, and AWS.
Build the fastest, most reliable GenAI apps with our advanced vector database.
Self-managed software with enterprise-grade compliance and reliability.
Synchronize data in near-real time to make data fast—without writing code.
In-memory database for caching & streaming.
ZCARD key
@read
,
@sortedset
,
@fast
,
Returns the sorted set cardinality (number of elements) of the sorted set stored
at key
.