Redis Connection: SELECT index
Description
Redis SELECT command is used to select the DB with having the specified zero-based numeric index. New connections always use DB 0.
Syntax:
SELECT DB_INDEX
Available since
1.0.0.
Return Value
String reply
Return Value Type
String
Example>
redis 127.0.0.1:6379> SELECT 1 OK redis 127.0.0.1:6379[1]>
Previous:
QUIT
Next:
BGREWRITEAOF
- New Content published on w3resource:
- HTML-CSS Practical: Exercises, Practice, Solution
- Java Regular Expression: Exercises, Practice, Solution
- Scala Programming Exercises, Practice, Solution
- Python Itertools exercises
- Python Numpy exercises
- Python GeoPy Package exercises
- Python Pandas exercises
- Python nltk exercises
- Python BeautifulSoup exercises
- Form Template
- Composer - PHP Package Manager
- PHPUnit - PHP Testing
- Laravel - PHP Framework
- Angular - JavaScript Framework
- Vue - JavaScript Framework
- Jest - JavaScript Testing Framework