EXEC
EXEC
- Available since
- 1.2.0
- Time complexity
- Depends on commands in the transaction
- ACL categories
- @slow, @transaction
Executes all previously queued commands in a transaction and restores the connection state to normal.
When using WATCH
, EXEC
will execute commands only if the watched keys were
not modified, allowing for a check-and-set mechanism.