EXEC
Executes the commands queued by MULTI.
Transactions · Example verified
Syntax covered here
EXECResults follow queue order; a separate-connection change to a watched key causes the tested transaction to abort with null.
Tested example & replies
Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.
# connection: default
> MULTI
"OK"
# connection: default
> SET sample value
"QUEUED"
# connection: default
> GET sample
"QUEUED"
# connection: default
> EXEC
["OK","value"]