WATCH

Syntax

  1. WATCH key [key ...]

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.