del

DEL

DEL key [key ...]

Removes the specified keys. A key is ignored if it does not exist.

Return value

Integer reply: The number of keys that were removed.

Examples

redis> SET key1 "Hello" "OK" redis> 登录查看完整内容