WATCH

Usage:
WATCH key [ key ... ]
Complexity:
O(1) for every key.
Since:
2.2.0
ACL Categories:
@fast, @transaction

Marks the given keys to be watched for conditional execution of a transaction.

Reply

OK.