get value for key redis code example
Example 1: redis get keys
KEYS * # blocks the server
scan NUM # NUM is the page/cursor number (start with 0)
Example 2: redis show key value
redis> SET mykey "Hello"
"OK"
redis> GET mykey
"Hello"
KEYS * # blocks the server
scan NUM # NUM is the page/cursor number (start with 0)
redis> SET mykey "Hello"
"OK"
redis> GET mykey
"Hello"