MULTI · Valkey

MULTI

Starts a transaction.

Usage

MULTI

Description

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

Reply

Simple string reply: OK.

Complexity

O(1)

ACL Categories

@fast @transaction

History

See also

DISCARD, EXEC, UNWATCH, WATCH.