Redis - Transactions Unwatch Command


Advertisements

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_transactions.htm
Advertisements