redis/multi

Start Transaction

Begin command block

transaction
atomic

Command

MULTI

Explanation

Marks the start of a transaction block. Subsequent commands are queued until EXEC is called.

Examples

Start transaction

MULTI

Queued command

SET a 10

Queued command

SET b 20

Execute transaction

EXEC