GET
Attention
This page documents an earlier version. Go to the latest (v2.3) version.Synopsis
GET key
This command fetches the value that is associated with the given key
.
Return value
Returns string value of the given key
.
Examples
$ GET yugakey
(null)
$ SET yugakey "Yugabyte"
"OK"
$ GET yugakey
"Yugabyte"
See also
append
, getrange
, getset
, incr
, incrby
, set
, setrange
, strlen