Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

redisExists

Test the existence of a key in the Redis database.


Description

Test the existence of a key in the Redis database.

Usage

redisExists(key)

Arguments

key

The (required) character identifier to be looked up.

Details

The key must not contain spaces or newline characters (otherwise an error will be thrown).

Value

Returns FALSE if no matching key, TRUE if matching key exists, and NULL if an error occured.

Author(s)

B. W. Lewis

References

http://redis.io/commands

See Also

Examples

## Not run: 
redisSet('x',runif(5))
redisExists('x')

## End(Not run)

rredis

"Redis" Key/Value Database Client

v1.7.0
Apache License (>= 2.0)
Authors
B. W. Lewis
Initial release
2015-07-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.