DelCommand: Contents
  DEL _key1_ _key2_ ... _keyN_
    Return value

DelCommand

#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 command returns the number ofkeys removed.

Return value

Integer reply, specifically:

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