- Usage:
-
UNWATCH
- Complexity:
- O(1)
- Since:
- 2.2.0
- ACL Categories:
- @transaction
Flushes all the previously watched keys for a transaction.
If you call EXEC
or DISCARD
, there's no need to manually call UNWATCH
.
RESP2/RESP3 Reply
Simple string reply: OK
.