APPEND
Since 1.1.0Strings
Syntax
APPEND key valueAppends value to the string at key. A missing key is created with value. The key's expiry, if it has one, is kept.
Reply
- The length of the string afterwards.
- A
WRONGTYPEerror if the key is not a string.
Examples
> SET k hello
OK
> APPEND k " world"
(integer) 11
> GET k
"hello world"