reset
RESET
Apply for Redis Developer Course
|
Redis Regular Inspection / Technical Support
|
Redis Enterprise Server
|
|---|
RESET
This has the same effect as disconnecting and reconnecting.
It does the following.
- Discards the current MULTI transaction block if there is one.
- Clears WATCH key tracking.
- Disables CLIENT TRACKING.
- Sets the connection to READWRITE mode.
- Clears ASKING mode.
- Sets CLIENT REPLY to ON.
- Sets the protocol version to RESP2.
- Selects database 0.
- Exits MONITOR mode.
- Clears Pub/Sub subscriptions.
- Clears authentication (AUTH).
Example
| Command> | reset |
| Result> | RESET |
Syntax
RESET
- Available since version 6.2.0.
| << SWAPDB | RESET | Install on Windows >> |
|---|
Email
답글이 올라오면 이메일로 알려드리겠습니다.
