W3cubDocs

/Redis

WATCH

WATCH key [key ...]

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

Return value

Simple string reply: always OK.

© 2009–2020 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/watch