X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/7f4e28e75046104599a5d83c493fdfd78f93ab49..49128f0b9da725de992e427fa341a837bcc2991b:/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

- + +