X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/02fdd5ab4c8691156c150bc3948cbebbe8b208ad..b78fd80f1e6c445b8b7d0a3058e4fe4a8cc25062:/doc/DelCommand.html diff --git a/doc/DelCommand.html b/doc/DelCommand.html index 4867af9b..8d063ce7 100644 --- a/doc/DelCommand.html +++ b/doc/DelCommand.html @@ -16,7 +16,7 @@
-DelCommand: Contents
  DEL _key_
    Return value
    See also +DelCommand: Contents
  DEL _key1_ _key2_ ... _keyN_
    Return value

DelCommand

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

DEL _key_

-Time complexity: O(1)
Remove the specified key. If the key does not existno operation is performed. The command always returns success.
+ #sidebar GenericCommandsSidebar

DEL _key1_ _key2_ ... _keyN_

+Time complexity: O(1)
Remove the specified keys. If a given key does not existno operation is performed for this key. The commnad returns the number ofkeys removed.

Return value

Integer reply, specifically:

-1 if the key was removed
-0 if the key does not exist
-

See also

- +an integer greater than 0 if one or more keys were removed +0 if none of the specified key existed + +