- Usage:
-
WATCH key [ key ... ]
- Complexity:
- O(1) for every key.
- Since:
- 2.2.0
Marks the given keys to be watched for conditional execution of a transaction.
WATCH
key
[ key ... ]
Marks the given keys to be watched for conditional execution of a transaction.