Learn R Programming

rredis (version 1.6.9)

redisHDel: Delete a hash value.

Description

Delete the value associated with the given key/field combination.

Usage

redisHDel(key, field)

Arguments

key
A key name.
field
A field name.

Value

  • Nothing is returned if the key/value pair is successfully deleted. A warning is thrown if the they key could not be found.

References

http://redis.io/commands

See Also

redisHSet

Examples

Run this code
redisHMSet('A',list(x=1,y=2,z=3))
redisHDel('A','x')

Run the code above in your browser using DataLab