kevy

EXEC

Execute every command queued since MULTI.

SyntaxEXEC
Grouptx
Arity1
Since1.0.0
Flagsreadonly, transaction
ComplexityO(sum of the queued commands' costs); with W watched keys, one extra O(W) pre-check fanned into O(min(W,S)) messages
Redis compatibilitydiffers: a MULTI batch spanning several shards is per-shard-atomic, not globally isolated (there is no cross-shard snapshot); a queue-time error aborts the whole batch with EXECABORT, but a runtime error inside EXEC leaves the other commands applied, as in Redis

← All commands