Returns the string value of a key.
GET key
Get the value of key. If the key does not exist the
special value nil is returned. An error is returned if the
value stored at key is not a string, because
GET only handles string values.
One of the following:
O(1)
@fast @read @string
127.0.0.1:6379> GET nonexisting
(nil)
127.0.0.1:6379> SET mykey "Hello"
OK
127.0.0.1:6379> GET mykey
"Hello"
APPEND, DECR, DECRBY, DELEX, DELIFEQ, GETDEL, GETEX, GETRANGE, GETSET, INCR, INCRBY, INCRBYFLOAT, INCREX, LCS, MGET, MSET, MSETEX, MSETNX, PSETEX, SET, SETEX, SETNX, SETRANGE, STRLEN, SUBSTR.