Set a key to hold a string value.
JSON.stringify
to convert it
to a string.True
, this will cause the command to return the old
value stored at key, or None
when key did not exist.True
if the key was set.
If get
is specified, this will return the old value stored at key, or None
when
the key did not exist.