Redis – Transactions Watch Command

  • Post author:
  • Post category:Redis
  • Post comments:2 Comments

Redis WATCH command marks the given keys to be watched for conditional execution of a transaction.

Return Value

Simple string reply − always OK.

Syntax

Following is the basic syntax of Redis WATCH command.

redis 127.0.0.1:6379> WATCH key [key ...]

This Post Has 2 Comments

Leave a Reply