rmdir.cn

DEL

删除键

语法

DEL key [key ...]

说明

删除一个或多个键。返回被删除的键数量。

示例

删除单个键

删除指定的键

DEL user:1

删除多个键

同时删除多个键

DEL user:1 user:2 user:3