GET
Since 1.1.0Strings
Syntax
GET keyReturns the string stored at key.
Reply
- The value, as a bulk string.
nilif the key does not exist.- A
WRONGTYPEerror if the key holds a list, hash or other non-string value.
Examples
> SET greeting hello
OK
> GET greeting
"hello"
> GET missing
(nil)