SELECT
Requests a logical database for the connection.
Connections · Example verified
Syntax covered here
SELECT databaseOnly database 0 was exercised; this does not establish other database modes or cross-database behavior.
Tested example & replies
Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.
# connection: default
> SELECT 0
"OK"