Redis: Transactions Cheat Sheet

Discard Command

redis 127.0.0.1:6379> DISCARD 

Exec Command

redis 127.0.0.1:6379> EXEC

Multi Command

redis 127.0.0.1:6379> MULTI

Unwatch Command

redis 127.0.0.1:6379> UNWATCH

Watch Command

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

Leave a Reply

Your email address will not be published.