Redis SET and GET Key
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
2 views
0 copies
Related in this category
Log in to save
Free account — save snippets into your own collections.