2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-01 21:40:24 +00:00
cheat.sheets/sheets/_redis/connection

19 lines
265 B
Plaintext
Raw Normal View History

2018-05-19 20:40:36 +00:00
# Authenticate to the server
AUTH password
# Echo the given string
ECHO message
# Ping the server
PING [message]
# Close the connection
QUIT
# Change the selected database for the current connection
SELECT index
# Swaps two Redis databases
SWAPDB index index