redis Transactions in command

multi turned Affairs

exec commit the transaction

discard abandon Affairs

watch key monitor changes in key values, execute it before turning on the transaction, the transaction value is changed if the key is found, the transaction automatically give up after the completion of transaction execution monitoring Cancel

unwatch cancel monitoring of all key

Published 236 original articles · won praise 10 · views 10000 +

Guess you like

Origin blog.csdn.net/gunsmoke/article/details/105023283
Recommended