GET
GET key
@read, @string, @fast, 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.
Bulk string reply: the value of key, or nil when key does not exist.
GET nonexisting SET mykey "Hello" GET mykey
© 2006–2022 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/get/