redisCmd: General Redis Interface Function

Description Usage Arguments Details Value Author(s) References Examples

View source: R/redis-internal.R

Description

Perform any Redis command.

Usage

1
redisCmd(CMD, ..., raw = FALSE)

Arguments

CMD

The (required) Redis command (character string).

...

Redis command arguments.

raw

If TRUE, return results in raw byte form.

Details

Use this low-level function to perform any Redis operation. The ... argument(s) not already in raw format will be converted to raw byte format, and non-character values will be serialized.

Value

Output from the Redis command–varies depending on command.

Author(s)

B. W. Lewis

References

http://redis.io/commands

Examples

1
2
3
4
5
## Not run: 
redisCmd('set','x',runif(5))
redisCmd('get','x')

## End(Not run)

bwlewis/rredis documentation built on Jan. 3, 2022, 4:53 p.m.