Redis UNWATCH command flushes all the previously watched keys for a transaction.
Return Value
Simple string reply − always OK.
Syntax
Following is the basic syntax of Redis UNWATCH command.
redis 127.0.0.1:6379> UNWATCH
Redis UNWATCH command flushes all the previously watched keys for a transaction.
Simple string reply − always OK.
Following is the basic syntax of Redis UNWATCH command.
redis 127.0.0.1:6379> UNWATCH