redisExists: Test the existence of a key in the Redis database.

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/allValCMD.R

Description

Test the existence of a key in the Redis database.

Usage

1

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

redisSet

Examples

1
2
3
4
5
## Not run: 
redisSet('x',runif(5))
redisExists('x')

## End(Not run)

rredis documentation built on May 2, 2019, 2:02 p.m.