Transactions Unwatch
# Redis Unwatch Command
* (javascript:void(0);)
* (javascript:void(0);)
* (javascript:void(0);)
* (javascript:void(0))
Redis Tutorial
(#)(#)(#)(#)(#)
## Redis Commands
(#)(#)(#)(#)(#)(#)(#)(#)[Redis Publish/Subscribe](#)(#)(#)(#)(#)(#)(#)
## Redis Advanced Tutorial
(#)(#)(#)(#)(#)(#)(#)(#)
[](#)(#)
(#)[](#)
Deep Dive
Scripting Languages
Programming
Computer
Scripts
Networking
Computer Hardware
Data Management
Computer Science
Web Design & Development
Search
# Redis Unwatch Command
!(#)(#)
The Redis Unwatch command is used to cancel the monitoring of all keys previously set by the WATCH command.
### Syntax
The basic syntax of the Redis Unwatch command is as follows:
redis 127.0.0.1:6379> UNWATCH
### Available Versions
>= 2.2.0
### Return Value
Always returns OK.
### Example
redis 127.0.0.1:6379> WATCH lock lock_times OK redis 127.0.0.1:6379> UNWATCH OK
!(#)(#)
YouTip