2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-01 21:40:24 +00:00
cheat.sheets/sheets/_redis/transactions

16 lines
278 B
Plaintext
Raw Normal View History

2018-05-19 20:40:36 +00:00
# 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 ...]