HDEL
Synopsis
HDEL key field [field ...]
This command removes the given fields
from the hash that is associated with the given key
.
Return value
Depends on the configuration parameter emulate_redis_responses
.
Examples
$ HSET yugahash moon "Moon"
1
$ HDEL yugahash moon
1
$ HDEL yugahash moon
0
$ HSET yugahash moon "Moon"
"OK"
$ HDEL yugahash moon
"OK"
$ HDEL yugahash moon
"OK"
See also
hexists
, hget
, hgetall
, hkeys
, hlen
, hmget
, hmset
, hset
, hincrby
, hstrlen
, hvals