9951 explained code solutions for 126 technologies


redisCancel transaction in Redis


redis-cli
> MULTI
> INCR test
> DISCARDctrl + c
redis-cli

launch Redis CLI interface in interactive mode

MULTI

start transaction

INCR test

sample commands within transaction

DISCARD

cancels all queued operation inside transaction