Learn R Programming

rredis (version 1.6.9)

redisKeys: Return a list of all keys in the active Redis database.

Description

Return a list of all keys in the active Redis database that match the specified pattern.

Usage

redisKeys(pattern = "*")

Arguments

pattern
The character string pattern used to match keys.

Value

  • A space-delimited character string containing all keys that match the patern in the active Redis database.

Details

Basic string-matching wildcards are supported. Use '?' to match any single character and '*' to match zero or more characters.

References

http://redis.io/commands

See Also

redisSelect

Examples

Run this code
redisKeys()

Run the code above in your browser using DataLab