UNWATCH

Syntax

  1. UNWATCH

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.