Skip to content
masterclass Buddy

Redis · Command

SELECT

SELECT changes the logical Redis database for the current connection. It uses a zero-based database index.

Last updated

Since
1.0.0

Syntax

SELECT index

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • AUTH
  • CLIENT LIST
  • FLUSHDB
  • RANDOMKEY
  • SWAPDB

Source: SELECT | Docs. Checked 2026-11-03.