Description Usage Arguments Details Value Author(s) References Examples
Select a database by numeric index value.
1 | redisSelect(index)
|
index |
The nonnegative integer value of the database to select. |
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.
A character string status code. An error is thrown if the index value is invalid.
B. W. Lewis
http://redis.io/commands
1 2 3 4 5 | ## Not run:
redisConnect()
redisSelect(1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.