Learn R Programming

rredis (version 1.6.9)

redisHExists: Test the existence of a hash.

Description

Test the existence of a hash combination in the Redis database.

Usage

redisHExists(key, field)

Arguments

key
A key name.
field
A field name.

Value

  • Returns FALSE if no matching key/field combination, TRUE if matching entry exists, and NULL if an error occured.

References

http://redis.io/commands

See Also

redisHSet

Examples

Run this code
redisHSet('A','x',runif(5))
redisHExists('A','x')

Run the code above in your browser using DataLab