w3resource

Redis Transactions:MULTI

Description

Redis MULTI command is used to mark the start of a transaction block.

Syntax:

MULTI 

Available since

1.2.0.

Return Value

Simple string reply: always OK.

Return Value Type

String

Example:

127.0.0.1:6379> MULTI
OK
127.0.0.1:6379> INCR test
QUEUED
127.0.0.1:6379> INCR test1
QUEUED

Previous: EXEC
Next: UNWATCH



Follow us on Facebook and Twitter for latest update.