Redis - Transactions Watch Command


Advertisements

Redis WATCH command marks the given keys to be watched for conditional execution of a transaction.

Return Value

Simple string reply − always OK.

Syntax

Following is the basic syntax of Redis WATCH command.

redis 127.0.0.1:6379> WATCH key [key ...]
redis_transactions.htm
Advertisements