UNWATCH
Syntax
UNWATCH
Time complexity: O(1)
Flushes all the previously watched keys for a transaction.
If you call EXEC
or DISCARD
, there's no need to manually call UNWATCH
.
Return
Simple string reply: always OK
.
UNWATCH
Time complexity: O(1)
Flushes all the previously watched keys for a transaction.
If you call EXEC
or DISCARD
, there's no need to manually call UNWATCH
.
Simple string reply: always OK
.