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

redisSelect

Select a redis database.


Description

Select a database by numeric index value.

Usage

redisSelect(index)

Arguments

index

The nonnegative integer value of the database to select.

Details

Redis supports multiple databases indexed by nonnegative integers. The number of supported databases is configurable via the redis server configuration file. New connections are assigned to database 0 by default.

Value

A character string status code. An error is thrown if the index value is invalid.

Author(s)

B. W. Lewis

References

http://redis.io/commands

Examples

## Not run: 
redisConnect()
redisSelect(1)

## 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.