kevy

EXEC

Execute every command queued since MULTI.

语法EXEC
分组tx
参数个数1
起始版本1.0.0
标志readonly, transaction
复杂度O(sum of the queued commands' costs); with W watched keys, one extra O(W) pre-check fanned into O(min(W,S)) messages
Redis 兼容性differs: 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

← 全部命令