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.
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.