UNWATCH

Syntax
UNWATCH
Available since:
2.2.0
Time complexity:
O(1)
ACL categories:
@fast, @transaction,

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.

Feedback

If you've found issues on this page, or have suggestions for improvement, please submit a request to merge or open an issue in the repository.