2808 explained code solutions for 75 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