BasicCommands.swapDB

This command swaps two Redis databases, so that immediately all the clients connected to a given database will see the data of the other database, and the other way around. @param index1 @param index2 @return Simple string reply: OK if SWAPDB was executed correctly.

interface BasicCommands
string
swapDB
(
int index1
,
int index2
)

Meta