X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/924aa408b99837036b679bd3895f836af6bc763f..4eddb121563a9e50cf2ee66e2a0ff7c186dd696a:/doc/ZcardCommand.html diff --git a/doc/ZcardCommand.html b/doc/ZcardCommand.html index 6ea758e2..d9a85ef0 100644 --- a/doc/ZcardCommand.html +++ b/doc/ZcardCommand.html @@ -16,7 +16,7 @@
-ZcardCommand: Contents
  ZCARD _key_ (Redis >
    Return value
    See also +ZcardCommand: Contents
  ZCARD _key_ (Redis >
    Return value

ZcardCommand

@@ -26,12 +26,11 @@
-

ZCARD _key_ (Redis >

1.1) = + #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.
-

See also

- +