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

valkey-protocol(7) Simple string reply: OK.

Complexity

O(1)

Acl Categories

@fast @transaction

History

See Also

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

Info

2024-09-23 8.0.0 Valkey Command Manual