GetCommand: Contents
  GET _key_
    Return value

GetCommand

#sidebar StringCommandsSidebar

GET _key_

Time complexity: O(1)
Get the value of the specified key. If the keydoes not exist the special value 'nil' is returned.If the value stored at key is not a string an erroris returned because GET can only handle string values.

Return value

Bulk reply