Redis SET and GET Key
The basic Redis round trip: set a key, read it back.
Demonstrates the basic Redis SET and GET commands in redis-cli. SET stores a key-value pair; GET retrieves it. Forms the foundation of all Redis caching patterns.
When you need this: When learning Redis or testing that a key is being written and readable.
Variables
Command
6 views
0 copies
Related in this category
Log in to save
Free account. Save snippets into your own collections.