Created
July 7, 2021 16:55
-
-
Save dylkreisman/3786b5e5bd22f46d39b3d97c3c025f4e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
redis.cloud:6379> WATCH myDoc | |
OK | |
redis.cloud:6379> GET myDoc | |
"{\"colors\": \"green\"}" | |
redis.cloud:6379> MULTI | |
OK | |
redis.cloud:6379>(TX) SET myDoc '{"colors": ["green", "blue"]}' | |
QUEUED | |
redis.cloud:6379>(TX) EXEC | |
1) OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment