WATCH

Syntax
WATCH key [key ...]
Available since:
2.2.0
Time complexity:
O(1) for every key.
ACL categories:
@fast, @transaction,

Marks the given keys to be watched for conditional execution of a transaction.

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.