What's new in Valkey 9.0? Discover new features and improvements. Read the announcement.

MULTI

Starts a transaction.

Usage
MULTI
Complexity
O(1)
Since
1.2.0
ACL Categories
@fast, @transaction
Command flags
NOSCRIPT, LOADING, STALE, FAST, NO_MULTI, ALLOW_BUSY

Marks the start of a transaction block. Subsequent commands will be queued for atomic execution using EXEC.

Replies

RESP2

RESP3