DISCARD
Since 1.1.0Transactions
Syntax
DISCARDDrops the commands queued since MULTI, ends the transaction, and stops watching keys.
Reply
OK.ERR DISCARD without MULTIoutside a transaction.
Examples
> MULTI
OK
> SET z 1
QUEUED
> DISCARD
OK
> EXISTS z
(integer) 0