X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/e9f0b930fecb02ef9fa025e78da5b3338b36f03b..b78fd80f1e6c445b8b7d0a3058e4fe4a8cc25062:/doc/ZcardCommand.html diff --git a/doc/ZcardCommand.html b/doc/ZcardCommand.html new file mode 100644 index 00000000..d9a85ef0 --- /dev/null +++ b/doc/ZcardCommand.html @@ -0,0 +1,41 @@ + + + + + + + +
+ + + +
+
+ +ZcardCommand: Contents
  ZCARD _key_ (Redis >
    Return value +
+ +

ZcardCommand

+ +
+ +
+ +
+ #sidebar SortedSetCommandsSidebar

ZCARD _key_ (Redis >

1.1) = +Time complexity O(1)
Return the sorted set cardinality (number of elements). If the key does notexist 0 is returned, like for empty sorted sets.
+

Return value

Integer reply, specifically:

+the cardinality (number of elements) of the set as an integer.
+
+ +
+ +
+
+ + +