MULTI
Since 1.1.0Transactions
Syntax
MULTIStarts a transaction on this connection. The commands that follow are not run but queued, each replying QUEUED, until EXEC runs them all or DISCARD drops them.
Reply
OK.ERR MULTI calls can not be nestedinside a transaction.
Examples
> MULTI
OK
> SET k v
QUEUED
> INCR counter
QUEUED
> EXEC
1) OK
2) (integer) 1