GET
Syntax
GET key
GET returns the value for the key in args.
The command returns (nil) if the key does not exist.
Examples
localhost:7379> SET k1 v1OK OKlocalhost:7379> GET k1OK v1localhost:7379> GET k2(nil)
GET key
GET returns the value for the key in args.
The command returns (nil) if the key does not exist.
localhost:7379> SET k1 v1OK OKlocalhost:7379> GET k1OK v1localhost:7379> GET k2(nil)