DISCARD
取消事务,放弃执行事务块内的所有命令。
如果正在使用 WATCH 命令监视某个(或某些) key,那么取消所有监视,等同于执行命令 UNWATCH 。
OK
redis> MULTI OK redis> PING QUEUED redis> SET greeting "hello" QUEUED redis> DISCARD OK
本文链接:https://blog.nnwk.net/article/1497
有问题请留言。版权所有,转载请在显眼位置处保留文章出处,并留下原文连接
Leave your question and I'll get back to you as soon as I see it. All rights reserved. Please keep the source and links
友情链接:
全部评论