SWAPDB

Apply for Redis Developer Course Redis Regular Inspection / Technical Support Redis Enterprise Server

SWAPDB

SWAPDB 0 1 swaps database 0 and database 1. It affects every connected client.

Example

Command>SWAPDB 0 1
Result>OK

Syntax

SWAPDB index index

  • Available since version 4.0.0.







<< CD SWAPDB RESET >>

Email 답글이 올라오면 이메일로 알려드리겠습니다.