Skip to content

GET

GET key

GET returns the value as a string for the key in args.

The command returns an empty string if the key does not exist.

localhost:7379> SET k1 v1
OK
localhost:7379> GET k1
OK "v1"
localhost:7379> GET k2
OK ""