2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/_redis/transactions
2018-05-19 20:40:36 +00:00

16 lines
278 B
Plaintext

# Discard all commands issued after MULTI
DISCARD
# Execute all commands issued after MULTI
EXEC
# Mark the start of a transaction block
MULTI
# Forget about all watched keys
UNWATCH
# Watch the given keys to determine execution of the MULTI/EXEC block
WATCH key [key ...]