unwatch.3valkey - Man Page

Forgets about watched keys of a transaction.

Synopsis

UNWATCH

Description

Flushes all the previously watched keys for a transaction.

If you call EXEC or DISCARD, there’s no need to manually call UNWATCH.

Reply

OK.

Complexity

O(1)

Acl Categories

@fast @transaction

History

See Also

discard(3valkey), exec(3valkey), multi(3valkey), watch(3valkey)

Info

2026-11-19 9.2.0 Valkey Command Manual