X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/ed9b544e10b84cd43348ddfab7068b610a5df1f7..570333015147ce01646ff61e50afc210a12408db:/doc/ScardCommand.html diff --git a/doc/ScardCommand.html b/doc/ScardCommand.html index d85be9db..ac992fa3 100644 --- a/doc/ScardCommand.html +++ b/doc/ScardCommand.html @@ -27,12 +27,11 @@

SCARD _key_

-Time complexity O(1)
Return the set cardinality (number of elements). If the key does notexist 0 is returned, like for empty sets. If the key does not holda set value -1 is returned. Client libraries should raise an errorwhen -1 is returned instead to pass the value to the caller.
+Time complexity O(1)
Return the set cardinality (number of elements). If the key does notexist 0 is returned, like for empty sets.

Return value

Integer reply, specifically:

-the cardinality (number of elements) of the set as an integer `>=` 0 if the operation succeeded
--2 if the specified key does not hold a set value
+the cardinality (number of elements) of the set as an integer.
 

See also

- +