X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/efc3408748061a08ec5ff18e392c30f31f5094a2..06e09c9b586d0e2c5d91dc596f871be56c6e0971:/doc/ExistsCommand.html diff --git a/doc/ExistsCommand.html b/doc/ExistsCommand.html deleted file mode 100644 index e8279163..00000000 --- a/doc/ExistsCommand.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - -
- - - -
-
- -ExistsCommand: Contents
  EXISTS _key_
    Return value -
- -

ExistsCommand

- -
- -
- -
- #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.
-
- -
- -
-
- - -