Learn R Programming

rredis (version 1.7.0)

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
## Not run: 
# redisHSet('A','x',runif(5))
# redisHExists('A','x')
# ## End(Not run)

Run the code above in your browser using DataLab