X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/924aa408b99837036b679bd3895f836af6bc763f..0997b4119d79da25b6ca43bc5aec0e3e03f0e64d:/doc/ExistsCommand.html diff --git a/doc/ExistsCommand.html b/doc/ExistsCommand.html index 32cc9978..e8279163 100644 --- a/doc/ExistsCommand.html +++ b/doc/ExistsCommand.html @@ -16,7 +16,7 @@
-ExistsCommand: Contents
  EXISTS _key_
    Return value
    See also +ExistsCommand: Contents
  EXISTS _key_
    Return value

ExistsCommand

@@ -26,13 +26,13 @@
-

EXISTS _key_

+ #sidebar GenericCommandsSidebar

EXISTS _key_

Time complexity: O(1)
Test if the specified key exists. The command returns"0" if the key exists, otherwise "1" is returned.Note that even keys set with an empty string as value willreturn "1".

Return value

Integer reply, specifically:

 1 if the key exists.
 0 if the key does not exist.
-

See also

- + +